Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes #2007 by adding a test to ensure explicit select = NULL works #2424

Merged
merged 2 commits into from
Oct 19, 2017
Merged

Closes #2007 by adding a test to ensure explicit select = NULL works #2424

merged 2 commits into from
Oct 19, 2017

Conversation

MichaelChirico
Copy link
Member

@MichaelChirico MichaelChirico commented Oct 17, 2017

@st-pasha Alternatively, we could just remove the select = NULL default and continue with the code as it was before. I think this is preferred as it allows users to have a value to set explicitly in dynamic use cases.

@mattdowle
Copy link
Member

@MichaelChirico The test has a 2 that should be 2L to pass, iiuc.

@codecov-io
Copy link

Codecov Report

Merging #2424 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2424      +/-   ##
==========================================
+ Coverage   91.24%   91.26%   +0.01%     
==========================================
  Files          62       62              
  Lines       12027    12027              
==========================================
+ Hits        10974    10976       +2     
+ Misses       1053     1051       -2
Impacted Files Coverage Δ
R/fread.R 94.61% <100%> (ø) ⬆️
src/forder.c 93.94% <0%> (+0.26%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5b12da9...94ba1f3. Read the comment docs.

@mattdowle mattdowle added this to the v1.10.6 milestone Oct 19, 2017
@mattdowle mattdowle merged commit 39c137d into Rdatatable:master Oct 19, 2017
@mattdowle
Copy link
Member

Btw @MichaelChirico, feel free to create branches directly in root now that you're a project member. That way we can commit to each other's branches if need be.

@MichaelChirico
Copy link
Member Author

MichaelChirico commented Oct 19, 2017 via email

@romanzenka
Copy link

@MichaelChirico Please do not switch to more 'missing' tests and arguments without default values.
I am wrapping fread in my own function and it is a pain to pass over "missing" parameters in a function call. Much better provide a default that is NULL and then test for is.null.

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.

4 participants