Nothing
library(testthat)
library(fect)
## For non-interactive / captured runs (local devtools::test() and GitHub
## Actions), use a MultiReporter that preserves per-test output.
## LocationReporter prints failures as file:line (readable); JunitReporter
## writes test-results.xml that CI tooling surfaces as PR annotations.
## Skipped on CRAN (NOT_CRAN unset, GITHUB_ACTIONS unset) to keep CRAN's
## default behavior unchanged.
if (!interactive() &&
(identical(Sys.getenv("NOT_CRAN"), "true") ||
nzchar(Sys.getenv("GITHUB_ACTIONS")))) {
options(testthat.default_reporter = testthat::MultiReporter$new(list(
testthat::LocationReporter$new(),
testthat::JunitReporter$new(file = "test-results.xml")
)))
}
test_check("fect")
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.