File: run_tests.R

package info (click to toggle)
r-cran-logging 0.10-108-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 220 kB
  • sloc: sh: 13; makefile: 2
file content (6 lines) | stat: -rw-r--r-- 180 bytes parent folder | download
1
2
3
4
5
6
library(testthat)

test_results <- data.frame(testthat::test_dir("."), stringsAsFactors = FALSE)
if (any(test_results$failed) || any(test_results$error)) {
  q(status = 1)
}