test_empty_context <- function() {
test_that("graph context is empty after test", {
expect_length(environment(.graph_context$free)$private$context, 0)
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.