In test file datetime3.R, one call to stopifnot() has an argument named "expr" 
which should probably be "exprs". There are three tests wrapped in braces of 
which only the last one, "omitted 195 entries", is currently checked.

Proposed patch:

--- tests/datetime3.R   (revision 84544)
+++ tests/datetime3.R   (working copy)
@@ -45,7 +45,7 @@
 c2 <- capture.output(print(dt, max = 6))
 writeLines(tail(cc, 4))
 writeLines(c2)
-stopifnot(expr = {
+stopifnot(exprs = {
     grepl("omitted 151 entries", tail(cc, 1))
                   !anyDuplicated(tail(cc, 2))
     grepl("omitted 195 entries", tail(c2, 1))

-- 
Best regards,
Mikko

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to