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

require_package(package, ...)

Arguments

package

Character name of a package.

...

Additional arguments passed on to install.packages.