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
Add a switch to not download from Github in offline mode when boostrapping #344
Comments
This has now been implemented -- |
Hello, I face a similar issue when using renv in an offline session. The Thank you! |
You can set:
See https://github.com/rstudio/renv/blob/master/R/bootstrap.R#L20-L49 for the associated logic. |
Hi @kevinushey, I tried this solution and the bootstrapping works perfectly. However, we maintain multiple repositories and after restoring the project it is not possible to install packages from the other repositories, which are set in |
I had an issue that freeze R on my RStudio servers because we are offline.
Currently,
activate.R
has a boostraping mechanism that will try to install from Github if last version available in CRAN is not the correct one.renv/inst/resources/activate.R
Lines 139 to 145 in 57eb539
This would need to be deactivated in offline environment where we have only a package Manager or a CRAN mirror, at least with a switch using an option or an environment variable configure on the servers.
Also, how about bootstraping older version by installing from archive ?
Thanks.
The error in the servers
The text was updated successfully, but these errors were encountered: