Repair a project library whose cache symlinks have become broken.
renv
will attempt to reinstall the requisite packages.
repair(library = NULL, lockfile = NULL, project = NULL)
The R library to be used. When NULL
, the active project
library will be used instead.
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.
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.