test_that("test_if_valid_family works", {
expect_silent(test_if_valid_family("gaussian"))
})
test_that("test_if_valid_family with expect_snapshot()", {
skip_on_ci()
expect_snapshot(
error = TRUE,
test_if_valid_family("gauss")
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.