ipak: Install and load packages

Description Usage Arguments Value Examples

View source: R/Install and load packages.R

Description

This will check to see if packages are installed. Install them if they are not, then load them into the R session.

Usage

1
ipak(pkg)

Arguments

pkg

a vector of packages

Value

Packages will be installed and loaded.

Examples

1
2
3
## usage
packages <-  c("curl", "httr","plyr","devtools")
ipak(packages)

wrbrignon/BrignonPackage documentation built on May 4, 2019, 10:54 a.m.