How do I get column names when mutating across columns?

I think we need a reproducible example (reprex)