Skip to content

Commit 49d027a

Browse files
committed
anyNA
1 parent 8ac0518 commit 49d027a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-ggplot-rect.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test_that('geom_rect becomes 1 trace with mode="lines" fill="tozerox"', {
3131
expect_identical(tr$type, "scatter")
3232
expect_identical(tr$mode, "lines")
3333
for(xy in c("x", "y")){
34-
expect_true(any(is.na(tr[[xy]])))
34+
expect_true(anyNA(tr[[xy]]))
3535
}
3636
})
3737

0 commit comments

Comments
 (0)