requirePackage {Hmisc} | R Documentation |
require a package. If package doesn't exist then throw an error.
requirePackage(package, character.only = FALSE, ...)
package |
character vector containing the names of packages to load. |
character.only |
a logical indicating whether 'package' can be assumed to be character string. |
... |
arguments to be passed to require. |
Charles Dupont
## Not run: requirePackage(methods) ## End(Not run)