GetPackage: Helper to install (if needed) and load a package

Description Usage Arguments Examples

Description

Given a package name, either as a string or object, load the package if it exists, else install it from CRAN and then load

Usage

1
GetPackage(package)

Arguments

package

A character vector of packages to load

Examples

1
GetPackage('gam')

Boodogs/zoon-clone documentation built on May 6, 2019, 7:59 a.m.