Bootstrap an renv
installation, making the requested version of
renv
available for projects on the system.
bootstrap(project = NULL, version = NULL)
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.
The version of renv
to install. If NULL
, the version
of renv
currently installed will be used. The requested version of
renv
will be retrieved from the renv
public GitHub repository,
at https://github.com/rstudio/renv.
The project directory, invisibly. Note that this function is normally called for its side effects.
Normally, this function does not need to be called directly by the user; it
will be invoked as required by init()
and activate()
.