Skip to content

Commit af20e37

Browse files
committed
push
Programs only. unit tests will follow so as website.
1 parent f004ff4 commit af20e37

12 files changed

+483
-732
lines changed

NAMESPACE

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export(make_table_20)
3131
export(make_table_21)
3232
export(make_table_22)
3333
export(make_table_32)
34-
export(make_table_32_gtsummary)
3534
export(make_table_32_rtables)
3635
export(make_table_33)
3736
export(make_table_34)

R/alex_table32.R

-47
This file was deleted.

R/fda-table_32.R

+2-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#' `saffl_var` must be a flag variable.
77
#' * `return_ard` set to `TRUE` or `FALSE`; whether the intermediate ARD object should be returned.
88
#'
9-
#' @inheritParams tbl_make_table_32
109
#' @inheritParams argument_convention
1110
#' @param subset (`string`)\cr selection of both PARAMCD and definition of baseline.
1211
#'
@@ -25,15 +24,12 @@
2524
#' @export
2625
make_table_32 <- function(df,
2726
denominator = NULL,
28-
return_ard = FALSE,
27+
return_ard = TRUE,
2928
id_var = "USUBJID",
3029
arm_var = "ARM",
3130
saffl_var = "SAFFL",
3231
lbl_overall = NULL,
3332
subset = NULL) {
34-
if (is.null(subset)) {
35-
subset <- as.character(formals(preproc_df_table_32)$subset)
36-
}
3733

3834
if (is.null(subset)) {
3935
subset <- as.character(formals(preproc_df_table_32)$subset)
@@ -178,7 +174,7 @@ make_table_32_rtables <- function(df,
178174
if (is.null(subset)) {
179175
subset <- as.character(formals(preproc_df_table_32)$subset)
180176
}
181-
df <- preproc_df_table_32(df, alt_counts_df, id_var, arm_var, saffl_var, subset)
177+
df <- preproc_df_table_32(df, denominator, id_var, arm_var, saffl_var, subset)
182178
alt_counts_df <- alt_counts_df_preproc(alt_counts_df, id_var, arm_var, saffl_var)
183179
avalu <- unique(df$AVALU)[1]
184180

R/fda-table_32_OLD.R

-257
This file was deleted.

0 commit comments

Comments
 (0)