Use repair()
to recover from some common issues that can occur with
a project. Currently, two operations are performed:
Arguments
- library
The R library to be used. When
NULL
, the active project library will be used instead.- lockfile
The path to a lockfile (if any). When available, renv will use the lockfile when attempting to infer the remote associated with the inaccessible version of each missing package. When
NULL
(the default), the project lockfile will be used.- 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.