tests/testthat/_snaps/utils.md

check_string() works

Code
  name <- 1
  check_string(name)
Condition
  Error:
  ! `name` must be a string.
Code
  check_string(name, nm = "NAME!")
Condition
  Error:
  ! `NAME!` must be a string.


Try the readr package in your browser

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

readr documentation built on May 29, 2024, 2:37 a.m.