Learn R Programming

renv (version 0.1.0-118)

activate: Activate a Project

Description

Use activate() to write the infrastructure needed to ensure that newly-launched R projects will load the project's private library on launch, alongside any other project-specific state recorded for the project.

Usage

activate(project = NULL, version = NULL)

Arguments

project

The project directory. If NULL, then the active project will be used. If no project has been specifically activated, the current working directory is used.

version

The version of renv to associate with this project. When NULL, the version recorded in the project's lockfile will be used (if any); otherwise, the version of renv currently loaded in the R session will be used instead.

See Also

Other renv: deactivate