Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge authored Feb 21, 2024
1 parent e94d5d4 commit 01bb5c4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions R/autotest-functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -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

}

}

}
Expand Down

0 comments on commit 01bb5c4

Please sign in to comment.