Skip to content

Commit

Permalink
Update snapshots to fix tests (#1093)
Browse files Browse the repository at this point in the history
Fixes #1092
  • Loading branch information
edelarua authored Mar 7, 2024
1 parent 488ce29 commit b5e8dc0
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tests/testthat/_snaps/tm_t_summary_by.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,12 @@
$layout
lyt <- rtables::basic_table(title = "Summary Table for AVAL, CHG by AVISIT") %>%
rtables::split_cols_by("ARM") %>% rtables::add_overall_col("All Patients") %>%
rtables::add_colcounts() %>% rtables::split_rows_by("AVISIT",
split_label = teal.data::col_labels(adlb, fill = FALSE)[["AVISIT"]],
split_fun = split_fun, label_pos = "topleft") %>% split_cols_by_multivar(vars = c("AVAL",
"CHG")) %>% summarize_colvars(vars = c("AVAL", "CHG"), na.rm = FALSE,
denom = "N_col", .stats = c("n", "mean_sd", "mean_ci", "median",
"median_ci", "quantiles", "range", "count_fraction"),
rtables::split_cols_by("ARM") %>% rtables::add_colcounts() %>%
rtables::split_rows_by("AVISIT", split_label = teal.data::col_labels(adlb,
fill = FALSE)[["AVISIT"]], split_fun = split_fun, label_pos = "topleft") %>%
split_cols_by_multivar(vars = c("AVAL", "CHG")) %>% summarize_colvars(vars = c("AVAL",
"CHG"), na.rm = FALSE, denom = "N_col", .stats = c("n", "mean_sd",
"mean_ci", "median", "median_ci", "quantiles", "range", "count_fraction"),
na_str = "<Missing>")
$table
Expand Down

0 comments on commit b5e8dc0

Please sign in to comment.