tests/testthat/helpers.R

skip_if_api_server <- function() {
  if (nominatim_check_access()) {
    return(invisible(TRUE))
  }

  testthat::skip("Nominatim API is not reachable.")

  invisible()
}

Try the nominatimlite package in your browser

Any scripts or data that you put into this service are public.

nominatimlite documentation built on June 3, 2026, 9:06 a.m.