I'm using the renv
package but can only install R packages from a local source/repo. The local source/repo is in my profile as checked with options('repos')
. renv
also installs packages correctly from the local source/repo.
However, apparently renv
is checking external sources (online) first when installing packages. I get a lot of (!) warnings when using renv
saying:
curl: (6) Could not resolve host: rstudio-buildtools.s3.amazonaws.com
I suppose this is because renv
always tries to access online resource first (which I cannot use).
Is there any way/option to tell renv
to only use local sources/repos without looking for online resources (so to avoid the numerous warnings)?