I did mtcars %>% by_row(sum) but got the message:
mtcars %>% by_row(sum)
by_row() is deprecated; please use a combination of: tidyr::nest(); d
by_row()
mtcars %>% mutate(rowsum = pmap_dbl(., sum))