context("print")
test_that("print works", {
expect_output(print(
iris %>%
specify(Sepal.Length ~ Sepal.Width) %>%
hypothesize(null = "independence") %>%
generate(reps = 10, type = "permute")
))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.