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)
}

Try the pdp package in your browser

Any scripts or data that you put into this service are public.

pdp documentation built on June 8, 2022, 1:07 a.m.