package.require: Attempt to load the package, and if unsuccessful try to...

Description Usage Arguments Examples

View source: R/helper.R

Description

Attempt to load the package, and if unsuccessful try to install.

Usage

1
package.require(pkg = ".", quiet = TRUE)

Arguments

pkg

Package name

quiet

if TRUE suppresses output from this function.

Examples

1
package.require('quantmod')

gitdek/Roanda documentation built on May 17, 2019, 5:28 a.m.