tests/testthat/_snaps/rename.md

.fn result type is checked (#6561)

Code
  duckplyr_rename_with(df, fn)
Condition
  Error in `rename_with()`:
  ! `.fn` must return a character vector, not an integer.

.fn result size is checked (#6561)

Code
  duckplyr_rename_with(df, fn)
Condition
  Error in `rename_with()`:
  ! `.fn` must return a vector of length 2, not 3.

can't rename in .cols

Code
  duckplyr_rename_with(df, toupper, .cols = c(y = x))
Condition
  Error in `rename_with()`:
  ! Can't rename variables in this context.


Try the duckplyr package in your browser

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

duckplyr documentation built on Sept. 12, 2024, 9:36 a.m.