Nothing
cols
(#1205)Code
chop(df$x)
Condition
Error in `chop()`:
! `data` must be a data frame, not an integer vector.
Code
chop(df)
Condition
Error in `chop()`:
! `cols` is absent but must be supplied.
Code
(expect_error(unchop(df, c(x, y))))
Output
<error/rlang_error>
Error in `unchop()`:
! In row 1, can't recycle input of size 2 to size 3.
Code
(expect_error(unchop(df, c(x, y))))
Output
<error/rlang_error>
Error in `unchop()`:
! In row 1, can't recycle input of size 0 to size 2.
Code
unchop(df, c(y = x))
Condition
Error in `unchop()`:
! Can't rename variables in this context.
Code
unchop(1:10)
Condition
Error in `unchop()`:
! `data` must be a data frame, not an integer vector.
Code
unchop(df)
Condition
Error in `unchop()`:
! `cols` is absent but must be supplied.
Code
unchop(df, col, keep_empty = 1)
Condition
Error in `unchop()`:
! `keep_empty` must be `TRUE` or `FALSE`, not the number 1.
Code
unchop(df, col, ptype = 1)
Condition
Error in `unchop()`:
! `ptype` must be `NULL`, an empty ptype, or a named list of ptypes.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.