-
Notifications
You must be signed in to change notification settings - Fork 155
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
renv::init() terra installation fails #1954
Comments
Update:
I understand the output is pointing out to |
I don't think this is true; it looks like your Conda installation's gcc installation is being found and used instead. See from the output:
And the compiler output does give the most probable fix:
But unfortunately that fix would need to happen in the terra package. |
thanks, @kevinushey . In your experience and knowledge, can a solution be to indicate R to use Rtools43 instead of the GCC installation available from conda? |
I think you can create a file at
But I'm not positive that will still work with a Conda R installation. You might also need to modify variables like CXX11 and others -- you might need to peruse the R manuals (e.g. https://cran.r-project.org/doc/manuals/r-release/R-exts.html) for more information. You might also want to examine the file located at:
|
I have encountered an error when trying to reproduce an environment from a colleague using
renv::init()
and an R installation in a conda environment. This is the prompt generated after my attempt:The relevant information from the lockfile is this:
I searched for possible solutions and found this issue which shows an error close to mine. However, I'm not receiving the same warning for
unzip(...)
, which makes me think that the source of the issue is different. I'm also using RTools43 in Windows.Any ideas will be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: