Learn R Programming

ENMTools (version 1.1.2)

assert.extras: 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)

Value

None, this function is used for its side-effects

Arguments

funs

character vector of ENMTools function names to install extra dependencies for. If `NULL`, extras for all ENMTools functions will be installed.

Examples

Run this code
if(check.extras("enmtools.gam")) {
  assert.extras("enmtools.gam")
}

Run the code above in your browser using DataLab