tests/tinytest.R

if ( requireNamespace("tinytest", quietly=TRUE) ){
  # redirect plots
  pdf(file=tempfile())
  tinytest::test_package("validate")
}

Try the validate package in your browser

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

validate documentation built on March 24, 2022, 5:07 p.m.