tests/testthat/_snaps/deprec-rerun.md

is deprecated

Code
  . <- rerun(5, rnorm(1))
Condition
  Warning:
  `rerun()` was deprecated in purrr 1.0.0.
  i Please use `map()` instead.
    # Previously
    rerun(5, rnorm(1))

    # Now
    map(1:5, ~ rnorm(1))
Code
  . <- rerun(5, rnorm(1), rnorm(2))
Condition
  Warning:
  `rerun()` was deprecated in purrr 1.0.0.
  i Please use `map()` instead.
    # Previously
    rerun(5, rnorm(1), rnorm(2))

    # Now
    map(1:5, ~ list(rnorm(1), rnorm(2)))


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.