tests/testthat/_snaps/map-if-at.md

map_if requires predicate functions

Code
  map_if(1:3, ~NA, ~"foo")
Condition
  Error in `map_if()`:
  i In index: 1.
  Caused by error:
  ! `.p()` must return a single `TRUE` or `FALSE`, not `NA`.


tidyverse/purrr documentation built on Nov. 7, 2023, 7:33 a.m.