context("getRegistry-A")
test_that("getRegistry", {
options("reactr" = NULL)
expect_is(res <- getRegistry(), "environment")
expect_equal(res, getOption("reactr")$.registry)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.