| 1 |
# This file is part of the standard setup for testthat. |
| 2 |
# It is recommended that you do not modify it. |
| 3 |
# |
| 4 |
# Where should you do additional test configuration? |
| 5 |
# Learn more about the roles of various files in: |
| 6 |
# * https://r-pkgs.org/testing-design.html#sec-tests-files-overview |
| 7 |
# * https://testthat.r-lib.org/articles/special-files.html |
| 8 |
|
| 9 |
library(testthat) |
| 10 |
library(xopen) |
| 11 |
|
| 12 |
if (ps::ps_is_supported()) { |
| 13 |
reporter <- ps::CleanupReporter(testthat::SummaryReporter)$new() |
| 14 |
} else { |
| 15 |
## ps does not support this platform |
| 16 |
reporter <- "progress" |
| 17 |
} |
| 18 |
|
| 19 |
test_check("xopen", reporter = reporter) |