Nothing
#' Internal function called by `check_login()`
#' @noRd
#' @keywords Internal
abort_email_missing <- function(error_call = rlang::caller_env()){
c(
"No user email was found.",
i = "To download occurrence records, species lists, or (for GBIF) occurrence
counts, \\
you must provide a valid email address registered with the selected atlas.",
i = "Provide your email address using `galah_config(email = )`.") |>
cli::cli_abort(call = error_call)
}
# Internal function called by `check_login()`
# @noRd
# @keywords Internal
# abort_api_key_missing <- function(error_call = caller_env()){
# bullets <- c("API key has not been specified for the ALA",
# i = "log on to your profile at `https://ala.org.au` to retrieve one",
# i = "use `galah_config(api_key = 'my_key_here') to fix this problem"
# )
# abort(bullets, call = error_call)
# }
#' System-wide, generic failure message
#' @noRd
#' @keywords Internal
system_down_message <- function(function_name,
error_call = rlang::caller_env()){
c(
"Calling the API failed for `{function_name}`.",
i = "This might mean that the API is down, or that you are not connected to the internet.",
i = "Double check that your query is correct, or try again later."
) |>
cli::cli_abort(call = error_call)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.