Suppress colour when run non-interactively
1 files changed, 4 insertions(+), 3 deletions(-) M tests/tinytest.R
M tests/tinytest.R => tests/tinytest.R +4 -3
@@ 1,3 1,4 @@ -if (requireNamespace("tinytest", quietly = TRUE)) { - tinytest::test_package("neighbours") -} +if (requireNamespace("tinytest", quietly = TRUE)) + tinytest.results <- tinytest::test_package("neighbours", + color = interactive(), + verbose = 1)