context("create_torus")
test_that("torus output is correct", {
d <- create_torus(cat_ls, 5)
expect_equal(d, torus_5)
d <- create_torus(cont_ls, 20)
expect_equal(d, torus_20)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.