tests/testthat/_snaps/error.md

output test

Code
  invalid_df("must be integer", "col", "Fix this.")
Output
  [1] "Column `col` must be integer." "Fix this."                    
Code
  invalid_df("must be numeric", c("col1", "col2"))
Output
  [1] "Columns `col1` and `col2` must be numeric."
Code
  use_repair(TRUE)
Output
  [1] "Use `.name_repair` to specify repair."
Code
  use_repair(FALSE)


Try the tibble package in your browser

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

tibble documentation built on March 31, 2023, 11 p.m.