load_pkg Loads a list of packages. If a package requires installation, the function will install it from CRAN. Function is a CRAN only wrapper.

load_pkg(packagelist)

Arguments

packagelist

Vector of packages to load into R

Value

Packages loaded into R

Examples

# NOT RUN {
packagelist <- c("purrr", "readr")
load_pkg(packagelist)
# }