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

Improves diagnostic messaging of .SDcols when passed bad data #3117

Merged
merged 9 commits into from
Nov 14, 2018

Conversation

MichaelChirico
Copy link
Member

@MichaelChirico MichaelChirico commented Oct 18, 2018

Closes #3116
Closes #3118

Also added brackify helper function. Might consider using it wherever collapse = ', '-style error messages are used now...

@codecov
Copy link

codecov bot commented Oct 18, 2018

Codecov Report

Merging #3117 into master will increase coverage by 0.09%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3117      +/-   ##
==========================================
+ Coverage   91.96%   92.05%   +0.09%     
==========================================
  Files          61       61              
  Lines       11444    11450       +6     
==========================================
+ Hits        10524    10540      +16     
+ Misses        920      910      -10
Impacted Files Coverage Δ
R/xts.R 100% <100%> (+33.33%) ⬆️
R/fread.R 98.56% <100%> (+2.87%) ⬆️
R/utils.R 87.87% <100%> (+0.78%) ⬆️
R/data.table.R 92.74% <100%> (+0.11%) ⬆️

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 092fec3...2606d1c. Read the comment docs.

@mattdowle
Copy link
Member

Please put "closes #num" in the body, not in the title.

@mattdowle mattdowle changed the title Closes #3116 -- improves diagnostic messaging of .SDcols when passed bad data Improves diagnostic messaging of .SDcols when passed bad data Oct 18, 2018
@mattdowle
Copy link
Member

mattdowle commented Oct 18, 2018

Looks like a true fail in R-devel on length comparison. Will leave to you to fix.

@MichaelChirico MichaelChirico force-pushed the SD_mismitch branch 3 times, most recently from 9c11621 to 0033f6c Compare October 19, 2018 12:26
fix

warn not err

fix again
@MichaelChirico
Copy link
Member Author

@mattdowle finally got all the issues sorted out & managed to cover a bunch of new stuff in tests as well. ready to merge

@mattdowle mattdowle added this to the 1.12.0 milestone Nov 14, 2018
… Many times I don't look at the detail of long error messages and I like them to be over on the right off the screen. If I need to look at the detail I scroll over. Expanding statements vertically gets in the way of the logic, imo.
@mattdowle
Copy link
Member

mattdowle commented Nov 14, 2018

Great PR! Not least the coverage increase.

@mattdowle mattdowle merged commit 55168ed into master Nov 14, 2018
@jangorecki jangorecki deleted the SD_mismitch branch June 3, 2019 10:19
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.

2 participants