test_that("data validity", {
items <- pRolocdata()$results[, "Item"]
e <- environment()
for (it in items) {
data(list = it, envir = e)
expect_true(validObject(get(it, envir = e)))
}
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.