context("Checking explain")
test_that("explain produces a character vector",{
m <- explain("(?<=foo)\\s+\\(\\d{4}\\)")
expect_true(is.character(m))
#expect_true(length(as.character(m)) > 8)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.