context("test-testing_package.R")
test_that("get_data works", {
expect_error(get_data(1,1))
expect_error(get_data(1,X))
})
test_that("runExample works", {
expect_error(runExample(X))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.