test_that("current_year() works", {
f <- kwb.prep:::current_year
expect_identical(f(), as.integer(format(Sys.Date(), "%Y")))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.