tests/testthat/Testbox/tests/testthat.R

options(box.path = file.path(getwd()))
# remove box cache
loaded_mods <- loadNamespace("box")$loaded_mods
rm(list = ls(loaded_mods), envir = loaded_mods)

library(testthat)

test_dir("tests/testthat")
jimhester/covr documentation built on April 8, 2024, 1:48 p.m.