test_that("greeting works", {
testthat::expect_message(
withr::with_envvar(
c(
"degauss_name" = "test",
"degauss_version" = "0.9.0",
"degauss_description" = "doesn't really exist"
),
greeting()
),
regexp = "[welcome]"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.