check_api <- function() {
#if (not_working()) {
skip("API not available")
#}
}
test_that("foo api returns bar when given baz", {
check_api()
...
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.