Skip to contents

Performs a lightweight HTTP check to verify that the Trafa API is reachable. This is primarily useful for guarding examples and tests.

Usage

trafa_available()

Value

TRUE if the API responds within 5 seconds, FALSE otherwise.

Examples

trafa_available()
#> [1] TRUE