Copy packages from the renv cache directly into the project library, so that the project can continue to function independently of the renv cache.
isolate(project = NULL)
The project directory, invisibly. Note that this function is normally called for its side effects.
After calling isolate()
, renv will still be able to use the cache on
future install()
s and restore()
s. If you'd prefer that renv copy
packages from the cache, rather than use symlinks, you can set the renv
configuration option:
to force renv to copy packages from the cache, as opposed to symlinking them. If you'd like to disable the cache altogether for a project, you can use:
to explicitly disable the cache for the project.
if (FALSE) { # \dontrun{
# isolate a project
renv::isolate()
} # }