rebuild | R Documentation |
Rebuild and reinstall packages in your library. This can be useful as a diagnostic tool – for example, if you find that one or more of your packages fail to load, and you want to ensure that you are starting from a clean slate.
rebuild(
packages = NULL,
recursive = TRUE,
...,
type = NULL,
prompt = interactive(),
library = NULL,
project = NULL
)
packages |
The package(s) to be rebuilt. When |
recursive |
Boolean; should dependencies of packages be rebuilt
recursively? Defaults to |
... |
Unused arguments, reserved for future expansion. If any arguments
are matched to |
type |
The type of package to install ("source" or "binary"). Defaults
to the value of |
prompt |
Boolean; prompt the user before taking any action? For backwards
compatibility, |
library |
The R library to be used. When |
project |
The project directory. If |
A named list of package records which were installed by renv.
## Not run:
# rebuild the 'dplyr' package + all of its dependencies
renv::rebuild("dplyr", recursive = TRUE)
# rebuild only 'dplyr'
renv::rebuild("dplyr", recursive = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.