test_that("warning if prep step fails", {
bad1 <- system.file("bad1", package = "goodpractice")
expect_warning(gp(bad1, checks = "covr"),
"Prep step for test coverage failed.")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.