Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Melkiades committed Dec 11, 2024
2 parents c113b9e + b2b2969 commit b4e6920
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/analyze_variables.R
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,8 @@ a_summary <- function(x,

# If one col has NA vals, must add NA row to other cols (using placeholder lvl `fill-na-level`)
if (any(is.na(dots_extra_args$.df_row[[dots_extra_args$.var]])) &&
!any(is.na(x)) &&
!na.rm) {
!any(is.na(x)) &&
!na.rm) {
levels(x) <- c(levels(x), "fill-na-level")
}

Expand Down

0 comments on commit b4e6920

Please sign in to comment.