rxodeTest(
{
test_that("Demo runs successfully", {
skip_if_not(dir.exists(file.path(system.file(package = "RxODE"), "demo")), "demo not installed")
expect_error(suppressWarnings({
demo("demo1", "RxODE", ask = FALSE, echo = FALSE)
}), NA)
})
},
test = "demo"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.