test_that("outputs a data.frame", {
expect_s3_class(sda_target, "data.frame")
})
test_that("outputs the expected snapshot", {
skip_if(r_version_is_older_than(4))
expect_snapshot(sda_target)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.