Skip to content

Installation on R < 4.0 fails on evaluate now requiring R >= 4.0 #1969

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

Closed
lachlansimpson opened this issue Jul 3, 2024 · 5 comments
Closed

Comments

@lachlansimpson
Copy link

Seen in zendesk ticket 106807. Mentioned here: r-lib/evaluate#173 (comment)

Solved by installation of older version using devtools

install.package('devtools')
require('devtools')
install_version("evaluate", version = "0.23", repos = "http://cran.us.r-project.org")
install.packages('testthat')

Ideally testthat installation candidate will install the version of evaluate required per the version of R being run, or testthat have a requirement of R>=4.0 as well.

@hadley
Copy link
Member

hadley commented Jul 3, 2024

That version of evaluate hasn't been released yet, so I'm surprised it's causing problems.

@hadley
Copy link
Member

hadley commented Jul 3, 2024

Oh it is in the released version; ooops.

@hadley
Copy link
Member

hadley commented Jul 3, 2024

Having read through that support log, I'm pretty confident the right fix is to ensuring we're requiring 4.0.0 for testthat, which I believe will happen naturally as part of our release process.

@hadley
Copy link
Member

hadley commented Jul 5, 2024

Given that it seems like 3.6 is going to be around for a while, we want to at least reserve the possibility of continuing test some packages on 3.6. That means we should formally declare 3.6 support in testthat and add it to our testing matrix.

@hadley
Copy link
Member

hadley commented Oct 22, 2024

After more time has elapsed it seems like requiring R 4.0.0 caused few problems (especially once we changed our GitHub action to install older versions if necessary).

@hadley hadley closed this as completed Oct 22, 2024
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

No branches or pull requests

2 participants