context("test-test_function.R")
test_that("test_function returns a decimal number", {
expect_is(test_function(), "numeric")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.