install_pkgs | R Documentation |
Provided the location of the previous R installation's package
library, the function will attempt to re-install each of the
packages found. Packages are installed with renv::install()
and will be added to the 'renv' package cache.
Packages can be installed from GitHub, GitLab, BioConductor, and
any repository listed in getOption("repos")
. This would typically
be from CRAN and any other secondary repositories that may be set.
install_pkgs(lib.loc = NULL)
lib.loc |
character vector describing the location of R library trees to search through |
if (interactive()) {
install_pkgs()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.