context("test-print")
relations <- data.frame(
sets = c(rep("a", 5), "b"),
elements = letters[seq_len(6)],
fuzzy = runif(6)
)
a <- tidySet(relations = relations)
test_that("print works", {
expect_output(show(a), "elements\\s+sets\\s+fuzzy")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.