Skip to content

Commit

Permalink
allow dmt01 variables be NA
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkliming committed Jul 26, 2023
1 parent aa825c0 commit a545897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/dmt01.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dmt01_main <- function(adam_db,
),
lbl_overall = "All {Patient_label}",
...) {
assert_valid_variable(adam_db$adsl, summaryvars)
assert_valid_variable(adam_db$adsl, summaryvars, na_ok = TRUE)
summaryvars_lbls <- var_labels_for(adam_db$adsl, summaryvars)
assert_valid_variable(adam_db$adsl, c("USUBJID", arm_var), types = list(c("character", "factor")))
lbl_overall <- render_safe(lbl_overall)
Expand Down

0 comments on commit a545897

Please sign in to comment.