tests/testthat/helper.R

skip_if_http_error <- function() {
  remote_file <- "https://www.dallasfed.org/institute/houseprice#tab2"
  skip_if(httr::http_error(remote_file))
}

Try the ihpdr package in your browser

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

ihpdr documentation built on July 13, 2020, 9:07 a.m.