Nothing
test_that("A bad request fails gracefully", {
expect_no_error(
httr2::request(httr2::example_url()) |>
httr2::req_url_path("/status/404") |>
gracefully(httr2::req_perform)
)
})
test_that("A good request succeeds silently", {
expect_equal(
httr2::request(httr2::example_url()) |>
gracefully(httr2::req_perform) |>
httr2::resp_status(),
200
)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.