context("resetRappOptions-1")
test_that("resetRappOptions", {
opts_old <- getOption(".rapp")
expect_is(res <- resetRappOptions(), "environment")
expect_equivalent(res, initializeRappOptions())
on.exit(options(".rapp" = opts_old))
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.