repair {renv} | R Documentation |
Repair a project
Description
Use repair()
to recover from some common issues that can occur with
a project. Currently, two operations are performed:
Usage
repair(library = NULL, lockfile = NULL, project = NULL)
Arguments
library |
The R library to be used. When |
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 |
project |
The project directory. If |
Details
Packages with broken symlinks into the cache will be re-installed.
Packages that were installed from sources, but appear to be from an remote source (e.g. GitHub), will have their
DESCRIPTION
files updated to record that remote source explicitly.