-
Notifications
You must be signed in to change notification settings - Fork 3
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
Improve version detection #296
Conversation
bfc4efe
to
f2523b4
Compare
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.
Looks good, nice that it is a helper function. CLI tests fail, have not investigated why.
1 failing test (which now returns a nicer result), fixed in 934b5f9. |
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.
Small suggestion to use stringr modifiers: https://stringr.tidyverse.org/reference/modifiers.html to ensure you are using the right kind of matching. Not essential in this case so I'll leave it up to you how defensive you want to be.
Well done, you turned this around very quickly and elegantly!
…amtraptor into improve-version-detection
Co-authored-by: Pieter Huybrechts <[email protected]>
Based on force pushed f2523b4. I had to solve better some small conflicts.
…amtraptor into improve-version-detection
This PR:
NEWS.md