load_packages {sketchy} | R Documentation |
Install and load packages
Description
load_packages
installs and loads packages from different repositories.
Usage
load_packages(packages, quite = FALSE, upgrade.deps = FALSE)
Arguments
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 repostories 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 dependecies are upgraded.Default is |
Details
The function installs and loads packages from different repositories.
Value
No object is returned.
Author(s)
Marcelo Araya-Salas (marcelo.araya@ucr.ac.cr)
References
Araya-Salas, M., Willink, B., Arriaga, A. (2020), sketchy: research compendiums for data analysis in R. R package version 1.0.2.
See Also
Examples
## Not run:
load_packages(packages = c("kableExtra", bioconductor = "ggtree",
github = "maRce10/Rraven"), quite = TRUE)
## End(Not run)