Tomaz Kastrun shares some advice:
Tidyverse provides a handful of great functions for operating across multiple columns simultaneously. Across is a function, that makes it easy to apply the same transformation over numerous columns in summarise() and mutate() functions.
Across accepts two arguments; a) array of columns and b) function or list of functions to be applied to selected columns.
Check out eight tips for working with packages in R’s tidyverse.