tests/testthat/test-progress-bars.R

test_that("useful for bad progress spec", {
  # Test map() to make sure we're passing the caller env correctly
  expect_snapshot(map(1, .progress = 1), error = TRUE)
})

Try the purrr package in your browser

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

purrr documentation built on Nov. 5, 2025, 7:27 p.m.