This provides a standard message format for missing packages, e.g.,
detected via requireNamespace
.
.requireNamespace(
pkg = "methods",
minVersion = NULL,
stopOnFALSE = FALSE,
messageStart = NULL
)
A logical or stop if the namespace is not available to be loaded.
Character string indicating name of package required
Character string indicating minimum version of package that is needed
Logical. If TRUE
, this function will create an
error (i.e., stop
) if the function returns FALSE
; otherwise
it simply returns FALSE
A character string with a prefix of message to provide