tests/testthat/test-test_url.R

test_that("test_url", {
  output = tempfile()
  expect_message(test_url(link = "http://httpbin.org/status/404",
                          output = output))
})

Try the climate package in your browser

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

climate documentation built on Aug. 9, 2022, 5:08 p.m.