context("splitters")
test_that("lsplit splits on letters", {
expect_equal(lsplit("abc"), c("a", "b", "c"))
})
test_that("wsplit splits on words", {
expect_equal(wsplit("happy birthday"), c("happy", "birthday"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.