| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/packages.R |
| 3 |
\name{broken_packages} |
| 4 |
\alias{broken_packages} |
| 5 |
\title{Find out broken packages and reinstall them} |
| 6 |
\usage{ |
| 7 |
broken_packages(reinstall = TRUE) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{reinstall}{Whether to reinstall the broken packages, or only list their |
| 11 |
names.} |
| 12 |
} |
| 13 |
\value{ |
| 14 |
A character vector of names of broken package. |
| 15 |
} |
| 16 |
\description{ |
| 17 |
If a package is broken (i.e., not \code{\link[=loadable]{loadable()}}), reinstall it. |
| 18 |
} |
| 19 |
\details{ |
| 20 |
Installed R packages could be broken for several reasons. One common reason |
| 21 |
is that you have upgraded R to a newer \code{x.y} version, e.g., from \verb{4.0.5} to |
| 22 |
\verb{4.1.0}, in which case you need to reinstall previously installed packages. |
| 23 |
} |