Skip to content

add use_data_table() for Import-ing data.table#924

Merged
hadley merged 8 commits intor-lib:masterfrom
MichaelChirico:use_data_table
Oct 22, 2019
Merged

add use_data_table() for Import-ing data.table#924
hadley merged 8 commits intor-lib:masterfrom
MichaelChirico:use_data_table

Conversation

@MichaelChirico
Copy link
Copy Markdown
Contributor

@MichaelChirico MichaelChirico commented Oct 20, 2019

Closes #897

A first pass at this. Please have a look @jangorecki.

Comments/feedback welcome.

Copy link
Copy Markdown

@jangorecki jangorecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not import(data.table). We are quite careful about masking other functions

@MichaelChirico
Copy link
Copy Markdown
Contributor Author

MichaelChirico commented Oct 20, 2019

Thanks @jangorecki, see new commit

MichaelChirico and others added 3 commits October 21, 2019 23:32
Co-Authored-By: Hadley Wickham <h.wickham@gmail.com>
R/data-table.R Outdated
#' `data.table` defines; see the 'Importing data.table' vignette for more
#' advice (`vignette('datatable-importing', 'data.table')`).
#' @export
use_data_table = function() {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You missed this one 😉

@hadley
Copy link
Copy Markdown
Member

hadley commented Oct 22, 2019

Thanks! Last job is to add a bullet to NEWS: it should briefly describe the change and end with (@yourname, #issuenumber).

@MichaelChirico
Copy link
Copy Markdown
Contributor Author

MichaelChirico commented Oct 22, 2019

Top or bottom of the stack?

NVM seems top

f0fc0e5#diff-8312ad0561ef661716b48d09478362f3

@MichaelChirico
Copy link
Copy Markdown
Contributor Author

@hadley nothing for tests?

@MichaelChirico
Copy link
Copy Markdown
Contributor Author

For Travis, I'm seeing this in the logs, seems unrelated to current PR

> browse_circle("circle")
Error in browse_circle("circle") : 
  could not find function "browse_circle"

@hadley
Copy link
Copy Markdown
Member

hadley commented Oct 22, 2019

I don't see much benefit for tests here, as there's not much new logic in use_data_table(). I'll fix the failure and take it from here.

@hadley hadley merged commit b1fca08 into r-lib:master Oct 22, 2019
@hadley
Copy link
Copy Markdown
Member

hadley commented Oct 22, 2019

Thanks @MichaelChirico!

@MichaelChirico
Copy link
Copy Markdown
Contributor Author

my pleasure! thanks for the support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add use_data_table

4 participants