tests/testthat/_snaps/error_utils.md

type_abort() works correctly

Code
  type_abort(x, is_double, 1.1)
Condition
  Error:
  i In argument: `x`.
  ! `x` must be a number, not a string.
Code
  type_abort(x, is_double, 1.1, "a test type")
Condition
  Error:
  i In argument: `x`.
  ! `x` must be a test type, not a string.


Try the xlr package in your browser

Any scripts or data that you put into this service are public.

xlr documentation built on April 3, 2025, 6:07 p.m.