Load a package, install if not available

safeRequire(packageName, mirrorIndex = NULL)

Arguments

packageName

The package

mirrorIndex

The index of the mirror (1 is used if not specified)