Combining case_when() and across()
If you want to use case_when() and across() different variables, then here is an example that can do this with the help of the get() and cur_column() functions.
library(tidyverse)

iris_df

Continue reading: A couple of case_when() …