tests/testthat/helpers.R

skip_if_interactive <- function() {
  testthat::skip_if(interactive())
}

skip_if_http_error <- function() {
  remote_file <- "http://landregistry.data.gov.uk"
  skip_if(httr::http_error(remote_file))
}

Try the uklr package in your browser

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

uklr documentation built on May 25, 2021, 1:06 a.m.