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

Fix setting seed in build_reference() #2355

Merged
merged 9 commits into from Mar 11, 2024
Merged

Fix setting seed in build_reference() #2355

merged 9 commits into from Mar 11, 2024

Conversation

salim-b
Copy link
Contributor

@salim-b salim-b commented Oct 18, 2023

The seed was reset too early before.

@jayhesselberth
Copy link
Collaborator

Could you please add a test for this change?

@salim-b
Copy link
Contributor Author

salim-b commented Dec 1, 2023

Could you please add a test for this change?

Done. I've verified that the same test run on current main fails.

The R CMD Check test fails on old R releases because of missing native pipe op support. Can I leave it like that?

Copy link
Member

@hadley hadley left a comment

Choose a reason for hiding this comment

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

I simplified the test so it works everywhere. Can you please add a news bullet?

@salim-b
Copy link
Contributor Author

salim-b commented Mar 11, 2024

Can you please add a news bullet?

See 3d5002c.

@hadley hadley merged commit cd26413 into r-lib:main Mar 11, 2024
13 checks passed
@hadley
Copy link
Member

hadley commented Mar 11, 2024

Thank you!

@salim-b salim-b deleted the fix-seed branch March 11, 2024 16:07
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.

None yet

3 participants