context("utils")
test_that(".msg", {
expect_message(detectability:::.msg(TRUE, "foobar"), "foobar")
expect_message(detectability:::.msg(TRUE, "foo", "bar"), "foobar")
expect_silent(detectability:::.msg(FALSE, "foobar"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.