context("test-print.R")
test_that("print works", {
lapply(
1:100, function(x){
expect_is(random_print(), "character")
expect_is(random_print("numeric"), "numeric")
expect_is(random_print("integer"), "integer")
expect_is(random_print("table"), "data.frame")
}
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.