Debian Codegraph @

man/repair.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/repair.R
3 \name{repair}
4 \alias{repair}
5 \title{Repair a project}
6 \usage{
7 repair(library = NULL, lockfile = NULL, project = NULL)
8 }
9 \arguments{
10 \item{library}{The \R library to be used. When \code{NULL}, the active project
11 library will be used instead.}
12
13 \item{lockfile}{The path to a lockfile (if any). When available, renv
14 will use the lockfile when attempting to infer the remote associated
15 with the inaccessible version of each missing package. When \code{NULL}
16 (the default), the project lockfile will be used.}
17
18 \item{project}{The project directory. If \code{NULL}, then the active project will
19 be used. If no project is currently active, then the current working
20 directory is used instead.}
21 }
22 \description{
23 Use \code{repair()} to recover from some common issues that can occur with
24 a project. Currently, two operations are performed:
25 }
26 \details{
27 \enumerate{
28 \item Packages with broken symlinks into the cache will be re-installed.
29 \item Packages that were installed from sources, but appear to be from
30 an remote source (e.g. GitHub), will have their \code{DESCRIPTION} files
31 updated to record that remote source explicitly.
32 }
33 }