install.extras: install.extras

View source: R/package.depends.R

install.extrasR Documentation

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, ...)

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

Value

The list of missing packages is return invisibly.

Examples


install.extras(install = FALSE)


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