check_ecosystem {rosv}R Documentation

Check input against possible ecosystems available

Description

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.

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.

Value

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

See Also

fetch_ecosystems


[Package rosv version 0.5.1 Index]