From 4901a31db4e14825e02cdba5102d63a3a3fb0a1c Mon Sep 17 00:00:00 2001 From: "Fukuda, Hiroaki" Date: Wed, 3 Sep 2025 18:30:05 -0400 Subject: [PATCH 1/2] Bump up a version in `DESCRIPTION` and update `NEWS.md` --- DESCRIPTION | 7 +++++-- NEWS.md | 22 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 3d2f81a..3bf5d20 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,14 +1,17 @@ Package: forestly Title: Interactive Forest Plot -Version: 0.1.2 +Version: 0.1.3 Authors@R: c( person("Yilong", "Zhang", role = c("aut")), person("Benjamin", "Wang", email = "benjamin.wang@merck.com", role = c("aut", "cre")), person("Yujie", "Zhao", role = c("aut")), person("Nan", "Xiao", role = c("ctb")), - person("Hiroaki", "Fukuda", role = c("ctb")), + person("Hiroaki", "Fukuda", role = c("aut")), person("Yulia", "Sidi", role = c("ctb")), person("Xuan", "Deng", role = c("ctb")), + person("Jeetener", "Chauhan", role = "ctb"), + person("Li", "Ma", role = "ctb"), + person("Chen", "Wang", role = "ctb"), person("Merck & Co., Inc., Rahway, NJ, USA and its affiliates", role = "cph") ) Description: Interactive forest plot for clinical trial safety analysis diff --git a/NEWS.md b/NEWS.md index 948679c..b361bc0 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,25 @@ +# forestly 0.1.3 + +## New features + +- `rtf_static_forestly()` is now available for generating static forestly plots in RTF format (#60). +- Add data source script `data-raw/forestly_adae.R` (#72). +- Add `prop_range` and `diff_range` arguments to `format_ae_forestly()` to allow control over the x-axis limits for AE proportion and risk difference plots (#80). +- Add `col_header` and `fig_header` arguments to `format_ae_forestly()` to enable customizable column and figure headers for risk difference outputs (#96). +- Add `filter_range` argument to `ae_forestly()` for flexible slider range customization (#97). + +## Bug fixes + +- Fix bug to correctly pass the `digits` to the display format of each column in format_ae_forestly() to make the number of displayed decimal places for proportions and risk differences user-configurable (#90). +- Fix bug so that the "n" and "(%)" columns in the output table are displayed only when specified in the `display` argument (#95) + +## Improvements + +- Update `format_ae_listing()` to consistently use list-style indexing (res[["column"]]) instead of dollar-sign notation (res$column) for accessing data frame columns (#71). +- Reorganize `pkgdown` site structure (#81, #82, #85) +- Update `format_ae_listing()` to replace direct use of `tools::toTitleCase()` with new helper function `titelcase()` for the case where SEX in the input data is factorized (#92). +- Update `format_ae_forestly()` to ensure consistency in the order of treatment groups across tables and figures (#94). + # forestly 0.1.2 - Fix a bug that prevents reactable from rendering under reactR >= 0.6.0 (#67). From d06847363fa9954a843eff592a29034ed6485f96 Mon Sep 17 00:00:00 2001 From: "Fukuda, Hiroaki" Date: Wed, 3 Sep 2025 18:48:46 -0400 Subject: [PATCH 2/2] Fix typos in `NEW.md` --- NEWS.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index b361bc0..135ed50 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ ## New features -- `rtf_static_forestly()` is now available for generating static forestly plots in RTF format (#60). +- `rtf_static_forestly()` is now available for generating static forest plots in RTF format (#60). - Add data source script `data-raw/forestly_adae.R` (#72). - Add `prop_range` and `diff_range` arguments to `format_ae_forestly()` to allow control over the x-axis limits for AE proportion and risk difference plots (#80). - Add `col_header` and `fig_header` arguments to `format_ae_forestly()` to enable customizable column and figure headers for risk difference outputs (#96). @@ -10,8 +10,8 @@ ## Bug fixes -- Fix bug to correctly pass the `digits` to the display format of each column in format_ae_forestly() to make the number of displayed decimal places for proportions and risk differences user-configurable (#90). -- Fix bug so that the "n" and "(%)" columns in the output table are displayed only when specified in the `display` argument (#95) +- Fix bug to correctly pass the `digits` to the display format of each column in `format_ae_forestly()` to make the number of displayed decimal places for proportions and risk differences user-configurable (#90). +- Fix bug so that the "n" and "(%)" columns in the output table are displayed only when specified in the `display` of `format_ae_forestly()` (#95) ## Improvements