Skip to content

Commit a7e3cd6

Browse files
committed
addressing review comments
1 parent 3256e24 commit a7e3cd6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

NEWS.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# gtsummary (development version)
22

3+
* The `tbl_regression()` function now takes advantage of a new feature in {broom.helpers} to support multicomponent models, such as, multinomial models and mixed-effects models. Review `broom.helpers::tidy_group_by()` for details. (#1540)
4+
35
* Fix in `gather_ard()` for `tbl_regression()` and `tbl_uvregression()`. Previously, only the ARD for the primary regression model(s) would be returned, and now all ARDs are returned including those from subsequent calls to `add_*()` functions. (#2208)
46

57
* Fix in `tbl_merge(merge_vars)` argument when a table contained a `"row_type"` column and the tables were not merged by this variable (which is included in the default). (#2205)

R/tbl_regression.R

+4-2
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,11 @@ tbl_regression.default <- function(x,
258258

259259
# warning about multinomial models
260260
cli::cli_inform(
261-
c("i" = "Multinomial models and other grouped models have a different
261+
c("i" = "Multinomial models, multi-component models and other groups models
262+
have a different
262263
underlying structure than the models gtsummary was designed for.",
263-
"*" = "Functions designed to work with {.fun tbl_regression} objects may yield unexpected results.")
264+
"*" = "Functions designed to work with {.fun tbl_regression} objects may yield unexpected results.",
265+
"i" = "Suppress this message with {.help suppressMessages}.")
264266
)
265267
}
266268

0 commit comments

Comments
 (0)