Skip to content

Conversation

@ALanguillaume
Copy link
Contributor

An error is thrown when trying to set an edition that does not exist.
Fixes #1547.
Thanks a lot for this great tool !

@hadley
Copy link
Member

hadley commented Jul 25, 2025

I tweaked this a bit to use the existing check_number_whole() helper and to test the errors with a snapshot test.

@hadley hadley merged commit d0b7491 into r-lib:main Jul 25, 2025
10 of 11 checks passed
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.

Edition-related functions should accept only existing editions (2 and 3)

2 participants