Skip to contents

Verifies whether the IUCN Red List API is accessible and the provided API key is valid.

Usage

rl_check_api()

Value

Invisibly returns TRUE if the API is working properly. If not, the function will abort with an appropriate error message.

See also

Examples

if (FALSE) { # \dontrun{
# Check if API is properly set up
rl_check_api()
} # }