Learn R Programming

zonator (version 0.6.0)

require_package: Requires a given package and if not present installs and loads it.

Description

Requires a given package and if not present installs and loads it.

Usage

require_package(package, ...)

Arguments

package

Character name of a package.

...

Additional arguments passed on to install.packages.