tests/testthat/_snaps/deprec-when.md

when is deprecated

Code
  . <- when(1:5 < 3 ~ 1, ~0)
Condition
  Warning:
  `when()` was deprecated in purrr 1.0.0.
  i Please use `if` instead.


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.