From a06c3ecdff79f52e77975067a182022e1ee566f7 Mon Sep 17 00:00:00 2001 From: Luis Moris Fernandez Date: Thu, 28 Nov 2024 23:19:04 +0100 Subject: [PATCH] covers errors in testing pipeline --- scripts/test_qc_pkg.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test_qc_pkg.R b/scripts/test_qc_pkg.R index cd50c1e..774e426 100644 --- a/scripts/test_qc_pkg.R +++ b/scripts/test_qc_pkg.R @@ -44,7 +44,7 @@ test_results <- tibble::as_tibble( ) ) -success[["test"]] <- sum(test_results[["failed"]]) == 0 +success[["test"]] <- (sum(test_results[["failed"]]) == 0) && !(any(test_results[["error"]])) # Copy _snaps folder so it can be archived later for test debugging # Empty if no errors are found