tests/tinytest.R

# Run tests in local environment
if (requireNamespace("tinytest", quietly = TRUE)) {
  home <- length(unclass(packageVersion("pdp"))[[1]]) == 4
  tinytest::test_package("pdp", at_home = home)
}
bgreenwell/partial documentation built on June 2, 2022, 2:54 p.m.