tests/testthat/test-request.R

test_that("requesting works", {
  skip("This site is down.")
  res <- do_request("https://httpbin.org/status/414", list(), timeout_seconds = 10 * 60)
  expect_equal(res$status_code, 414)
})

Try the epidatr package in your browser

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

epidatr documentation built on April 4, 2025, 3:51 a.m.