tests/testthat/_snaps/spec_write.md

write_spec() rejects a non-spec input

Code
  write_spec(mtcars, p)
Condition
  Error:
  ! `spec` must be a <artoo_spec>.
  x You supplied a data frame.
  i Build one with `artoo_spec()`.


Try the artoo package in your browser

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

artoo documentation built on July 23, 2026, 1:08 a.m.