tests/testthat/test-progress.r

context("Progress bars")

test_that("unknown progress bar raised warning, not error", {
  expect_warning(
    llply(1:10, identity, .progress = "blah"),
    "Cannot find progress bar"
  )
})

Try the plyr package in your browser

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

plyr documentation built on Oct. 2, 2023, 9:07 a.m.