Nothing
context("itis_ping")
test_that("itis_ping returns the correct class", {
skip_on_cran()
vcr::use_cassette("itis_ping", {
one <- itis_ping()
})
expect_is(one, "logical")
})
test_that("itis_ping returns correct things", {
skip_on_cran()
vcr::use_cassette("itis_ping_http_code_503", {
expect_false(itis_ping(503))
})
vcr::use_cassette("itis_ping_http_code_200", {
expect_true(itis_ping(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.