Closed dunkenwg closed 3 months ago
Did not add:
test_that("ps_duplicates() gives deprecation message", {
expect_warning(
ps_duplicates(data.frame(x = 1:2, y = 1:2)),
regexp = "was deprecated"
)
})
as warnings are only issued once every 8 hours. This test will fail unless it is the first time ps_duplicates()
has been called in 8 hours.
Thanks @joethorley! The tests should be good to go now.
No worries!
duplicate()
and its tests to tidyplus