test_that("multiplication works", {
expect_equal(2 * 2, 4)
})
test_that("hello world works", {
expect_equal(capture.output(shapley::hello()),
"[1] \"Hello, world!\"")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.