diff --git a/DESCRIPTION b/DESCRIPTION index 829d3477..b3936736 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: crane Title: Supplements the 'gtsummary' Package for Pharmaceutical Reporting -Version: 0.3.3.9021 +Version: 0.4.0 Authors@R: c( person("Daniel D.", "Sjoberg", , "danield.sjoberg@gmail.com", role = "aut", comment = c(ORCID = "0000-0003-0862-2018", note = "Original creator of the package")), @@ -30,11 +30,11 @@ URL: https://github.com/insightsengineering/crane, https://insightsengineering.github.io/crane/ BugReports: https://github.com/insightsengineering/crane/issues Depends: - gtsummary (>= 2.5.1), + gtsummary (>= 2.6.1), R (>= 4.2) Imports: broom (>= 1.0.8), - cards (>= 0.8.1.9001), + cards (>= 0.9.0), cardx (>= 0.3.3), cli (>= 3.6.4), cowplot (>= 1.2.0), @@ -65,8 +65,6 @@ Suggests: withr (>= 3.0.1), xml2, yaml -Remotes: - pharmaverse/cards Config/Needs/check: hms Config/Needs/website: rmarkdown, yaml Config/roxygen2/version: 8.1.0 diff --git a/NEWS.md b/NEWS.md index 19f55dc1..f42fcaef 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,11 +1,9 @@ -# crane 0.3.3.9021 +# crane 0.4.0 * `modify_split_caption()` now errors when given a table that was never split, instead of silently returning it unchanged. A plain table has no split level to build a subtitle from; the message points at `split_by_rows = list(variable_level = ...)`. Pages of a row-number split are still skipped silently, as before. (#318) * Added `add_label_column()` to split a `{gtsummary}` table's row labels into a new left label column (`label0`) and the existing `label` column, computing the new column from an expression evaluated in the table body. This is the `strata_location = "new_column"` layout of `tbl_shift()` exposed as a standalone step for nested count and shift tables. (#314) -# crane 0.3.3.9017 - * `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)