test_that("Open file works", {
expect_silent(
drilldowndemo_open("details")
)
})
test_that("Run file works", {
expect_silent(
drilldowndemo_run("details")
)
expect_output(
drilldowndemo_run(),
"Available apps"
)
})
test_that("Non-existent app give error", {
expect_error(
drilldowndemo_run("notanapp")
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.