.requireNamespace {reproducible} | R Documentation |
Provide standard messaging for missing package dependencies
Description
This provides a standard message format for missing packages, e.g.,
detected via requireNamespace
.
Usage
.requireNamespace(
pkg = "methods",
minVersion = NULL,
stopOnFALSE = FALSE,
messageStart = NULL
)
Arguments
pkg |
Character string indicating name of package required |
minVersion |
Character string indicating minimum version of package that is needed |
stopOnFALSE |
Logical. If |
messageStart |
A character string with a prefix of message to provide |
Value
A logical or stop if the namespace is not available to be loaded.
[Package reproducible version 2.1.0 Index]