context("Test of general functionality")
test_that("citation reports year", {
txt <- citation("sensR")
expect_true(as.logical(grep("year", txt)))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.