tests/testthat/_snaps/standalone-obj-type.md

stop_input_type() handles I() in arg (#1607)

Code
  err(checker(1, stop_input_type, what = "a logical", arg = I("Element 1 of `x`")))
Output
  <error/rlang_error>
  Error in `checker()`:
  ! Element 1 of `x` must be a logical, not the number 1.


r-lib/rlang documentation built on June 24, 2024, 8:09 p.m.