Load a project.

load(project = getwd(), quiet = FALSE)

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.

quiet

Boolean; be quiet during load?

Value

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

Details

Normally, this is done automatically on session startup by the infrastructure generated by activate() -- users should not need to call this function directly.

Examples

if (FALSE) { # load a project -- note that this is normally done automatically # when the R session is started in an renv project after calling # renv::activate() renv::load() }