tests/testthat/_snaps/tribble.md

output test

Code
  tribble(1)
Condition
  Error in `tribble()`:
  ! Must specify at least one column using the `~name` syntax.
Code
  tribble(~a, ~b, 1)
Condition
  Error in `tribble()`:
  ! Data must be rectangular.
  * Found 2 columns.
  * Found 1 cells.
  i 1 is not an integer multiple of 2.
Code
  tribble(a ~ b, 1)
Condition
  Error in `tribble()`:
  ! All column specifications must use the `~name` syntax.
  x Found `a` on the left-hand side of `~`.
Code
  tribble(a ~ b + c, 1)
Condition
  Error in `tribble()`:
  ! All column specifications must use the `~name` syntax.
  x Found `a` on the left-hand side of `~`.
Code
  tribble(~b, 1, "a")
Condition
  Error in `tribble()`:
  ! Can't create column `b`
  Caused by error in `vec_c()`:
  ! Can't combine `..1` <double> and `..2` <character>.
Code
  frame_matrix(1)
Condition
  Error in `frame_matrix()`:
  ! Must specify at least one column using the `~name` syntax.
Code
  frame_matrix(~a, list(1))
Condition
  Error in `frame_matrix()`:
  ! All values must be atomic.
  x Found list-valued element at position 1.


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.