pkgTest: Check to see if a package is installed

Description Usage Author(s) See Also Examples

View source: R/pkgTest.R

Description

This function checks if a dependent library is installed, and if not installs it, and then loads it.

Usage

1
pkgTest(pkg)

Author(s)

Jeffrey Ziegler (<jeffrey.ziegler[at]emory.edu>)

See Also

loadDependencies

Examples

1
lapply(c("stringdist", "ggplot2", "tidyr"), pkgTest)

zieglerjef/openEnded documentation built on Nov. 30, 2020, 2:03 p.m.