tests/testthat.R

Sys.setenv("R_TESTS" = "")
library(testthat)
library(validateIt)
if (!requireNamespace("here", quietly = TRUE)) {
  install.packages("here")
}

library(here)
test_check("validateIt")

Try the validateIt package in your browser

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

validateIt documentation built on May 31, 2023, 5:22 p.m.