Nothing
test_that("error outside of test_that()", {
withr::local_envvar(TESTTHAT_PARALLEL = "TRUE")
err <- tryCatch(
capture.output(suppressMessages(testthat::test_local(
test_path("test-parallel", "outside"),
reporter = "summary"
))),
error = function(e) e
)
expect_match(err$message, "Test failures")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.