Rowwise in dplyr 1.0 for data frame

Simple, and useful. I am using a loop over all rows for quick-and-dirty code, but wanted to give the new rowwise concept a try.

While I love the concepts of tidyverse, the eternal up and down for rowwise operation is one of the things I don't like, and I am surprised that the syntax has become uglier over time. do was not so bad. Working on long-data is the preferred style, but on the other hand there are tons of examples for column-wise operations, but rowwise often leads to "you should not do this" comments.

Thanks for your solution, and hoping someone will enlighten me how to use the tidyverse style.

Yes, I had read: