assert_is_loaded {assertive.code} | R Documentation |
Checks to see if the input DLL (a.k.a. shared object) is loaded.
assert_is_loaded(x, severity = getOption("assertive.severity", "stop")) is_loaded(x, PACKAGE = "", type = c("", "C", "Fortran", "Call", "External"), .xname = get_name_in_parent(x))
x |
A string naming the symbol in a DLL to check. |
severity |
How severe should the consequences of the assertion be?
Either |
PACKAGE |
A string naming an R package to restrict the search to, or
|
type |
A string naming the type of external code call to restrict the
search to, or |
.xname |
Not intended to be used directly. |
is_loaded
wraps is.loaded
, providing more
information on failure. assert_is_loaded
returns nothing but
throws an error if is_loaded
returns FALSE
.