test_that("indent() works", {
expect_error(indent())
expect_identical(indent("a", 1L), " a")
expect_identical(indent("a", 2L), " a")
expect_identical(indent("a", 1L, 4L), " a")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.