tests/testthat.R

library(testthat)
library(av)

if (ps::ps_is_supported()) {
  # This sometimes has false positives on MacOS https://github.com/r-lib/ps/issues/90
  reporter <- ps::CleanupReporter(testthat::CheckReporter)$new(proc_cleanup = FALSE, proc_fail = FALSE, conn_fail = FALSE)
  test_check("av", reporter = reporter)
} else {
  test_check("av")
}

Try the av package in your browser

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

av documentation built on Oct. 17, 2023, 1:11 a.m.