test_that("assert_ending_gz() works", {
f <- kwb.dwd:::assert_ending_gz
expect_error(f())
expect_error(f("abc"))
expect_silent(f("abc.gz"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.