Learn R Programming

rmsfuns (version 1.0.0.1)

load_pkg: load_pkg

Description

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.

Usage

load_pkg(packagelist)

Arguments

packagelist

Vector of packages to load into R

Value

Packages loaded into R

Examples

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

Run the code above in your browser using DataLab