context("sample_roll")
test_that("sample_roll works as expected", {
p <- sample_roll(50000)
expect_length(p, 50000)
expect_true(all(p >= 0))
expect_true(all(p <= 100))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.