Skip to content

gtsummary 2.0.1

Compare
Choose a tag to compare
@ddsjoberg ddsjoberg released this 18 Aug 02:22

Updates to address regressions in the v2.0.0 release:

  • Restore functionality of inline_text.tbl_summary(column) argument to specify a by level when the by variable is a factor. (#1883)
  • Correct the order of the columns when the tbl_summary(by) variables has ten or more levels. (#1877)
  • Re-establishing strong link between header by variable levels and those in the table body to ensure correct ordering of columns in tbl_summary().
  • The tbl_survfit(times) argument accepts integers once again. (#1867)
  • Fix in tbl_uvregression() for the formula argument when it includes a hard-coded column name, e.g. formula='{y} ~ {x} + grade'. The hard-coded variable name is now removed from the include argument. (#1886)
  • Fix for non-Base R classes tabulated with tbl_summary() that would not coerce to character correctly after unlist(). (#1893)
  • Updated the styling function from style_percent() to style_number(scale=100) when user passes an integer to change the rounding of percentages in tbl_summary(). (#1899)

Other updates

  • The {tidycmprsk} dependency has been removed and the tbl_regression.tidycrr() method has been migrated to the {tidycmprsk} package. (#1865)

  • The class of tbl_split() objects has been updated from "tbl_split" to c("tbl_split", "list"). (#1854)

  • Updated the default value of tbl_ard_summary(missing) to "no". (#1857)

  • Line breaks (i.e. '\n') are now auto-stripped from gt-rendered tables when in an R markdown or Quarto environment. (#1896)