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)

Arguments

project

The project directory. If NULL, then the active project will be used. If no project is currently active, then the current working directory is used instead.

Value

The project directory, invisibly. Note that this function is normally called for its side effects.

Examples

if (FALSE) { # isolate a project renv::isolate() }