inst/templates/testthat.R

# Script needed to run testthat automatically from ‘R CMD check’. See
# testthat::test_dir documentation.
library(testthat)
library({{pkgName}})
Sys.setenv(TESTTHAT_REPORTER="summary")
Sys.setenv(BIODB_LOG_DST="console")
test_check("{{pkgName}}")
pkrog/biodb documentation built on Nov. 29, 2022, 4:24 a.m.