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

Improve version detection #296

Merged
merged 12 commits into from
Jan 16, 2024
Merged

Improve version detection #296

merged 12 commits into from
Jan 16, 2024

Conversation

damianooldoni
Copy link
Member

This PR:

Copy link
Member

@peterdesmet peterdesmet left a 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.

@peterdesmet
Copy link
Member

1 failing test (which now returns a nicer result), fixed in 934b5f9.

Copy link
Member

@PietrH PietrH left a 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!

R/zzz.R Outdated Show resolved Hide resolved
damianooldoni and others added 4 commits January 16, 2024 16:40
Co-authored-by: Pieter Huybrechts <[email protected]>
Based on force pushed f2523b4. I had to solve better some small conflicts.
@damianooldoni damianooldoni merged commit 45b72a2 into main Jan 16, 2024
10 checks passed
@damianooldoni damianooldoni deleted the improve-version-detection branch January 16, 2024 22:03
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.

Be smarter in detecting version
3 participants