usePackage: Package installing and loading function

Description Usage Arguments Examples

View source: R/usePackage.R

Description

The usePackage function takes a single command, the name of a package, and will install it, if not already installed, and then load it.

Usage

1
usePackage(package)

Arguments

package

A package name as a quoted string.

Examples

1
usePackage("ggplot2")

AFMSAnalytics/utilityScripts documentation built on April 26, 2018, 4:21 p.m.