rowSumsはrowwise+acrossで代替する

特定の条件のもとカウント回数を算出したいときは以下のようにやる。

iris %>% 
rowwise() %>% 
mutate(hoge = sum(across(Sepal.Length:Sepal.Width) >= 1))