Skip to contents

Internal function that ensures inputs for ecosystem are valid based upon what is available in the OSV database.

Usage

check_ecosystem(ecosystem, suppressMessages = TRUE)

Arguments

ecosystem

Character value for ecosystem(s) to check.

suppressMessages

Boolean value whether or not to suppress any messages.

Value

A character vector, the same as input if all are valid ecosystem names.

Details

Will attempt to grab latest file and cache for the current R session. If session cannot access the online version, it will use a local copy shipped with the package.

See also