tests/testthat/_snaps/add_overall.tbl_summary.md

add_overall.tbl_summary() errors

Code
  add_overall(tbl_summary(mtcars))
Condition
  Error in `add_overall()`:
  ! Cannot run `add_overall()` when original table function is not statified with `tbl_summary(by)`.
Code
  add_overall(add_stat_label(tbl_summary(mtcars, by = am, include = "mpg", type = all_continuous() ~
    "continuous2"), label = mpg ~ "UPDATED!"))
Condition
  Error in `add_overall()`:
  ! An error occured in `add_overall()`, and the overall statistic cannot be added.
  Have variable labels changed since the original call to `tbl_summary()`?


ddsjoberg/gtsummary documentation built on March 1, 2025, 7:52 p.m.