tests/testthat/_snaps/test.md

check_edition() validates inputs

Code
  check_edition(20)
Condition
  Error in `check_edition()`:
  x `edition` (20) not available in installed verion of testthat (3.2.0).
Code
  check_edition("x")
Condition
  Error in `check_edition()`:
  x `edition` must be a single number.


Try the usethis package in your browser

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

usethis documentation built on Sept. 9, 2025, 5:25 p.m.