Learn R Programming

ENMTools (version 1.1.2)

install.extras: install.extras

Description

Convenience function that installs all extra packages used in ENMTools. ENMTools uses functions from a lot of external packages, and due to CRAN best practices it doesn't install those packages by default. The function install.extras() calls install.packages with a list of all of the extra packages that are not already available. Use [check.extras()] to find out which packages are needed for a list of functions.

Usage

install.extras(funs = NULL, install = TRUE, ...)

Value

The list of missing packages is return invisibly.

Arguments

funs

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

install

Should the packages be installed?

...

Other parameters to be passed to install.packages

Examples

Run this code
# \donttest{
install.extras(install = FALSE)
# }

Run the code above in your browser using DataLab