docker/run_covr.R

# disable flags as otherwise GenForm doesn't compile
options(covr.flags = list(CXXFLAGS = '', LDFLAGS = ''))
options(patRoon.progress.opts = list(style = 1))

install.packages(c("testthat", "vdiffr"))
remotes::install_github("gergness/covr@live-console-update")

withr::with_envvar(list(NOT_CRAN = "true"), covr::codecov(quiet = FALSE, errorsAreFatal = FALSE, clean = FALSE,
                                                          type = "none", code = 'testthat::test_package("patRoon")',
                                                          code_stdout = TRUE))
rickhelmus/patRoon documentation built on Sept. 17, 2024, 4:32 p.m.