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

Replace unnecessary calls to getNumericRounding() in tests.Rraw where possible #6119

Merged
merged 3 commits into from
May 3, 2024

Conversation

joshhwuu
Copy link
Member

@joshhwuu joshhwuu commented May 3, 2024

Closes #6113

Since #6112, we can now assign the old numeric rounding value when calling setNumericRounding(), this behavior better aligns with old = options(...) and can improve readability in certain tests

@joshhwuu joshhwuu requested a review from MichaelChirico as a code owner May 3, 2024 01:39
@joshhwuu joshhwuu changed the title Replace unnecessary calls to getNumericRounding() where possible Replace unnecessary calls to getNumericRounding() in tests.Rraw where possible May 3, 2024
@MichaelChirico
Copy link
Member

Thanks for taking this on! Please make the one small change, I think GitHub struggles to 'apply suggestion' to a huge file like tests.Rraw so I couldn't do it in the UI :\

@MichaelChirico MichaelChirico merged commit 4b6f6e2 into master May 3, 2024
3 checks passed
@MichaelChirico MichaelChirico deleted the fix6113 branch May 3, 2024 07:43
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.

Use new setNumericRounding() return value in tests where possible.
2 participants