og_status() reports whether the API is up and the limits it applies. og_user() reports who
you are signed in as, and your allowance.
Arguments
- src
A Source, from
og_api().
Value
A list (class og_status or og_user, with a print method). Read its fields in scripts:
status$ready, status$execution$limits; user$user, user$tier, user$allowance,
user$concurrency_budget.
Details
A Local Source has no API to ask: both refuse it (opengwasr_local_unsupported); check its
setup with og_local_check().
Examples
if (FALSE) { # \dontrun{
src <- og_api()
og_status(src)
og_user(src)
} # }