From 01bb5c4f00bdcff9532967e533f76cb3a40561a1 Mon Sep 17 00:00:00 2001 From: mark padgham Date: Wed, 21 Feb 2024 14:14:35 +0100 Subject: [PATCH] Apply suggestions from code review --- R/autotest-functions.R | 7 ------- 1 file changed, 7 deletions(-) diff --git a/R/autotest-functions.R b/R/autotest-functions.R index d1c45ef..2c87611 100644 --- a/R/autotest-functions.R +++ b/R/autotest-functions.R @@ -160,21 +160,14 @@ autotest_single_yaml <- function (yaml = NULL, # rm "no_test" tests switched off from "test_data" if (test) { - no_test <- reports$type == "no_test" - if (all (no_test)) { - reports <- NULL } else { - reports <- reports [which(!no_test), ] - rownames (reports) <- NULL - } - } }