diff --git a/DESCRIPTION b/DESCRIPTION index 81ab56e6..c6aed9a1 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -34,6 +34,7 @@ Depends: R (>= 4.2) Imports: broom (>= 1.0.8), + broom.helpers (>= 1.20.0), cards (>= 0.8.1.9001), cardx (>= 0.3.3), cli (>= 3.6.4), @@ -51,7 +52,6 @@ Imports: tibble, tidyr (>= 1.3.0) Suggests: - broom.helpers (>= 1.20.0), coin (>= 1.4.3), emmeans, labelled, diff --git a/NAMESPACE b/NAMESPACE index e6b4d453..e1a81f26 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -79,6 +79,7 @@ import(ggplot2) import(glue) import(rlang) importFrom(broom,tidy) +importFrom(broom.helpers,tidy_parameters) importFrom(cards,ard_tabulate_value) importFrom(cowplot, draw_plot, diff --git a/NEWS.md b/NEWS.md index 99da4da7..46b6207a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ # crane 0.3.3.9017 +* `broom.helpers` is moved from `Suggests` to `Imports`, and `broom.helpers::tidy_parameters` is now imported. (#312) + * `tbl_null_report()` now centers its message, so with no body content it reads as a "no data" panel spanning the table instead of text hugging the left edge. (#305) * `get_mmrm_results()` gains a `weights` argument (default `"equal"`) passed to `emmeans::emmeans()`, so proportionally weighted LS Means can be requested with `weights = "proportional"`. Check `?emmeans::emmeans()` for other `weights` options. (#299) diff --git a/R/crane-package.R b/R/crane-package.R index a318552b..efb9cad1 100644 --- a/R/crane-package.R +++ b/R/crane-package.R @@ -3,6 +3,7 @@ #' @import ggplot2 #' @import glue glue #' @importFrom broom tidy +#' @importFrom broom.helpers tidy_parameters #' @importFrom cowplot plot_grid ggdraw draw_plot #' @importFrom dplyr across starts_with ends_with contains matches num_range #' @importFrom dplyr all_of any_of everything last_col where mutate