File: testthat.R

package info (click to toggle)
r-cran-av 0.9.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 328 kB
  • sloc: ansic: 1,456; sh: 14; makefile: 6
file content (10 lines) | stat: -rw-r--r-- 339 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
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")
}