assert.extras: Assert that the extra packages needed for an ENMTools...

View source: R/package.depends.R

assert.extrasR 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")
}

ENMTools documentation built on April 11, 2023, 6:09 p.m.