Learn R Programming

renv (version 0.8.0)

isolate: Isolate a Project

Description

Copy packages from the renv cache directly into the project library, so that the project can continue to function independently of the renv cache.

Usage

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

Run this code
# NOT RUN {
# isolate a project
renv::isolate()

# }

Run the code above in your browser using DataLab