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 lintr by bumping minimum R version to 4.1.0 #4

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Conversation

joshwlambert
Copy link
Member

This pull request increases the minimum version of R required to use the {climateR0} package to 4.1.0, from 2.10.

I assume the dependency on R version 2.10 was automatically added to the package when you were adding other things, such as data with usethis::use_data(). I believe the .lintr file didn't like the 2.10 version, maybe because it expects versions to have three components (i.e. major.minor.patch) whereas 2.10 has just two.

I've chosen 4.1.0 as the base R pipe (|>) is used in the package which was added to R in 4.1.0, so ensuring user have 4.1.0 installed should ensure that the code works as expected.

@EmilieFinch EmilieFinch merged commit 432d1ea into main Aug 29, 2024
7 of 8 checks passed
@EmilieFinch EmilieFinch deleted the fix-lintr branch August 29, 2024 11:08
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.

2 participants