tests/testthat.R

library("base")
requireNamespace("testthat")
library("w4mclassfilter")

# The following line causes a warning in devtools::check() -
#   WARNING '::' or ':::' import not declared from: 'testthat'
# but I have found no way to suppress it without importing testthat into the package.
# The problem is that 'testthat' is not needed by end users of the package.
testthat::test_check("w4mclassfilter")
HegemanLab/w4mclassfilter documentation built on March 14, 2021, 1:19 a.m.