test_that("Data is installed", {
if ("sri24" %in% installed.packages()[, "Package"]) {
expect_is(sri24_image_df(), "data.frame")
} else {
expect_is(sri24_image_df(), "NULL")
}
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.