tests/testthat/_snaps/modify-tree.md

validates inputs

Code
  modify_tree(list(), is_node = ~1)
Condition
  Error in `modify_tree()`:
  ! `is_node()` must return a single `TRUE` or `FALSE`, not a number.
Code
  modify_tree(list(), is_node = 1)
Condition
  Error in `modify_tree()`:
  ! Can't convert `is_node`, a double vector, to a function.


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.