Skip to content

Commit dcea5b5

Browse files
committed
Thinko: length -> nrow
1 parent 08765e1 commit dcea5b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/test.data.table.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ test.data.table = function(script="tests.Rraw", verbose=FALSE, pkg=".", silent=F
284284
"Caught %d warning outside the test() calls:\n",
285285
"Caught %d warnings outside the test() calls:\n"
286286
),
287-
length(warnings)
287+
nrow(warnings)
288288
)
289289
print(warnings)
290290
stopf("Tests succeeded, but non-test code caused warnings. Search %s for tests shown above.", names(fn))

0 commit comments

Comments
 (0)