-
Notifications
You must be signed in to change notification settings - Fork 991
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
setNumericRounding() returns old rounding value, instead of "NULL" #6112
Conversation
Generated via commit bb2f838 Download link for the artifact containing the test results: ↓ atime-results.zip Time taken to finish the standard R installation steps: 11 minutes and 45 seconds Time taken to run |
Sorry, I'm not seeing those, unless you're referring to usage outside data.table itself? |
Yes, the total change size is still pretty small --> safe to include here too. Thanks! |
Yeah, I meant in |
Oh, I see it now. I guess tests.Rraw is not indexed for regex search by GitHub. Let's mark it for follow-up since there are so many. Thanks! |
Implementation looks good, only nit-picky details left to fix, thanks! |
Should we include a NEWS entry as well? Or is it minimal enough where it's not required? |
I think it warrants a NOTE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Closes #6108
Changed
setNumericRounding()
to invisibly return the old value, allowing for this assignment:Should I include a change to
test.data.table
as outlined in the issue as well? Also, there are many instances where we usegetNumericRounding()
to set/restore numeric rounding and can be refactored following this change, are they worth changing?