test_that("Function return one element atomic char vector", {
story <- "Whole story so far."
event <- "New part of story."
expect_equal(length(makeMessage(story, event)), 1)
expect_true(is.atomic(makeMessage(story, event)))
expect_true(is.character(makeMessage(story, event, newPara = TRUE)))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.