Skip to content

Commit

Permalink
correct incomplete argument matching
Browse files Browse the repository at this point in the history
  • Loading branch information
BFalquet committed Jan 9, 2025
1 parent 8a57b55 commit edc8a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ttet01.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ ttet01_main <- function(adam_db,
adam_db[[dataset]], c("USUBJID", strata, "EVNT1", "EVNTDESC", "AVALU"),
types = list(c("character", "factor")), label = df_label
)
assert_valid_variable(adam_db[[dataset]], arm_var, type = list("factor"), empty.levels.ok = FALSE, label = df_label)
assert_valid_variable(adam_db[[dataset]], arm_var, types = list("factor"), empty.levels.ok = FALSE, label = df_label)
assert_subset(ref_group, lvls(adam_db[[dataset]][[arm_var]]))
ref_group <- ref_group %||% lvls(anl[[arm_var]])[1]
assert_single_value(anl$AVALU, label = sprintf("adam_db$%s$AVALU", dataset))
Expand Down

0 comments on commit edc8a16

Please sign in to comment.