Recommend replacement for `mutate_all()` in >= dplyr v1.1.0

When mutate_all() was soft deprecated, my understanding was that the recommended replacement was to use across(.cols = everything(), ...) inside a mutate() command, e.g.

mutate_all(mtcars, .funs = round)

becomes...

mutate(mtcars, across(.cols = everything(), .fns = round))

With the recent deprecation of everything() being the default value for .cols in across(), I get a sense that maybe that is not expected usage? Is that still the currently recommended replacement, or is there something else?

1 Like

No, i think the message is that its expected you would be explicit when you want the cols to be everything()

2 Likes

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.