Skip to content

Commit 01bb5c4

Browse files
authored
Apply suggestions from code review
1 parent e94d5d4 commit 01bb5c4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

R/autotest-functions.R

-7
Original file line numberDiff line numberDiff line change
@@ -160,21 +160,14 @@ autotest_single_yaml <- function (yaml = NULL,
160160

161161
# rm "no_test" tests switched off from "test_data"
162162
if (test) {
163-
164163
no_test <- reports$type == "no_test"
165-
166164
if (all (no_test)) {
167-
168165
reports <- NULL
169166

170167
} else {
171-
172168
reports <- reports [which(!no_test), ]
173-
174169
rownames (reports) <- NULL
175-
176170
}
177-
178171
}
179172

180173
}

0 commit comments

Comments
 (0)