test_that("string truncation works", {
expect_equal(
tr_trunc_neatly("This is a test string", l = 17),
"This is a test..."
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.