test_that("last_month_as_yyyymm() works", {
f <- kwb.dwd:::last_month_as_yyyymm
result <- f()
expect_type(result, "character")
expect_length(result, 1L)
expect_true(startsWith(result, substr(Sys.Date(), 1L, 4L)))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.