tests/testthat/test-adverb-slowly.R

test_that("validates inputs", {
  expect_snapshot(error = TRUE, {
    slowly(mean, 10)
  })
})

Try the purrr package in your browser

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

purrr documentation built on Aug. 10, 2023, 9:08 a.m.