tests/testthat/test-internal.R

test_that("test if incomparables implemented in anyDuplicated.data.frame", {
  expect_error(
    anyDuplicated(data.frame(), incomparables = NA),
    "^argument 'incomparables != FALSE' is not used [(]yet[)]$"
  )
})

Try the chk package in your browser

Any scripts or data that you put into this service are public.

chk documentation built on Oct. 6, 2023, 9:06 a.m.