Learn R Programming

SciencesPo (version 1.02.12)

safeRequire: Safe require

Description

This function checks whether a package is installed; if not, it installs it. It then loads the package.

Usage

safeRequire(packageName)

Arguments

packageName
the name of a package.