View source: R/load_packages.R
load_packages | R Documentation |
load_packages
installs and loads packages from different repositories.
load_packages(packages, quite = FALSE, upgrade.deps = FALSE)
packages |
Character vector with the names of the packages to be installed. The vector names indicate the repositories from which packages will be installed. If no name is included CRAN will be used as the default repository. Available repositories are: 'cran', 'github', 'gitlab', 'bitbucket' and 'bioconductor'. Note that for 'github', 'gitlab' and 'bitbucket' the string must include the user name in the form 'user/package'. |
quite |
Logical argument to control if package startup messages are printed. Default is |
upgrade.deps |
Logical argument to control if package dependencies are upgraded.Default is |
The function installs and loads packages from different repositories in a single call.
No object is returned.
Marcelo Araya-Salas (marcelo.araya@ucr.ac.cr)
Araya-Salas, M., Arriaga, A. (2023), sketchy: research compendiums for data analysis in R. R package version 1.0.3.
compendiums
, make_compendium
## Not run:
load_packages(packages = c("kableExtra", bioconductor = "ggtree",
github = "maRce10/Rraven"), quite = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.