library(testthat)
x <- c(a = 1, b = 2, c = 3)
context("testing")
test_that("does it have names", {
expect_named(x, c("a", "b", "c"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.