assert.extras {ENMTools} | R Documentation |
Assert that the extra packages needed for an ENMTools function are installed and available
Description
Triggers an error if any of the extra packages required for an ENMTools function are not available.
Usage
assert.extras(funs = NULL)
Arguments
funs |
character vector of ENMTools function names to install extra dependencies for. If 'NULL', extras for all ENMTools functions will be installed. |
Value
None, this function is used for its side-effects
Examples
if(check.extras("enmtools.gam")) {
assert.extras("enmtools.gam")
}
[Package ENMTools version 1.1.2 Index]