.fn
result type is checked (#6561)Code
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
rename_with(df, fn)
Condition
Error in `rename_with()`:
! `.fn` must return a vector of length 2, not 3.
.cols
Code
rename_with(df, toupper, .cols = c(y = x))
Condition
Error in `rename_with()`:
! Can't rename variables in this context.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.