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()`?


Try the gtsummary package in your browser

Any scripts or data that you put into this service are public.

gtsummary documentation built on Oct. 5, 2024, 1:06 a.m.