usePkg: Use any package. If package is not installed, this will...

Description Usage Arguments Value Author(s) Examples

Description

Use any package. If package is not installed, this will install from CRAN.

Usage

1
usePkg(packageName, allowInstall = FALSE)

Arguments

packageName

Name of package as *string*.

allowInstall

let the package be installed from CRAN

Value

TRUE if package successfully loaded, FALSE otherwise.

Author(s)

Benjamin M. Kandel, BB Avants

Examples

1
2
usePkg("randomForest")
usePkg("stats", allowInstall = TRUE)

muschellij2/atropos documentation built on May 4, 2019, 3:17 p.m.