Skip to content

Commit

Permalink
lintr suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
wibeasley committed Jan 14, 2024
1 parent 0665afe commit 4726507
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/row.R
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ row_sum <- function(
rowSums(
dplyr::across(
!!columns_to_average,
.fns = \(x) { !is.na(x) }
.fns = \(x) {
!is.na(x)
}
)
),
.nonmissing_proportion = .nonmissing_count / length(columns_to_average),
Expand Down

0 comments on commit 4726507

Please sign in to comment.