Skip to content

Commit

Permalink
drop plyr::empty usage
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico committed Nov 14, 2023
1 parent 8b04b89 commit a28ac28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-assertions.R
Original file line number Diff line number Diff line change
Expand Up @@ -1610,6 +1610,6 @@ test_that("handle predicates applied to the whole data, and not to subframe", {
head( n = 0)

expect_silent({
assert(data = a_tibble, predicate = plyr::empty, dplyr::everything())
assert(data = a_tibble, predicate = function(x) nrow(x) == 0L, dplyr::everything())
})
})

0 comments on commit a28ac28

Please sign in to comment.