tests/testthat/_snaps/nest-legacy.md

can't combine vectors and data frames

Code
  (expect_error(unnest_legacy(df)))
Output
  <error/rlang_error>
  Error in `unnest_legacy()`:
  ! Each column must either be a list of vectors or a list of data frames.
  i Problems in: `x`

multiple columns must be same length

Code
  (expect_error(unnest_legacy(df)))
Output
  <error/rlang_error>
  Error in `unnest_legacy()`:
  ! All nested columns must have the same number of elements.
Code
  (expect_error(unnest_legacy(df)))
Output
  <error/rlang_error>
  Error in `unnest_legacy()`:
  ! All nested columns must have the same number of elements.


Try the tidyr package in your browser

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

tidyr documentation built on Feb. 16, 2023, 7:40 p.m.