Load a package, install if not available
safeRequire(packageName, mirrorIndex = NULL)
packageName
The package
mirrorIndex
The index of the mirror (1 is used if not specified)