diff --git a/DESCRIPTION b/DESCRIPTION index 3a8c073660..6b8cb09194 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: tern Title: Create Common TLGs Used in Clinical Trials -Version: 0.9.5.9025 +Version: 0.9.6 Date: 2024-09-17 Authors@R: c( person("Joe", "Zhu", , "joe.zhu@roche.com", role = c("aut", "cre")), @@ -34,7 +34,7 @@ Imports: dplyr (>= 1.0.0), emmeans (>= 1.10.4), forcats (>= 1.0.0), - formatters (>= 0.5.9), + formatters (>= 0.5.8), ggplot2 (>= 3.5.0), grid, gridExtra (>= 2.0.0), diff --git a/NEWS.md b/NEWS.md index 34806c70da..a29559a470 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,17 +1,17 @@ -# tern 0.9.5.9025 +# tern 0.9.6 ### Enhancements * Added `errorbar_width` and `linetype` parameters to `g_lineplot`. -* Reworking of `summarize_glm_count()` documentation and all its associated functions to better describe the results and the functions' purpose. * Added the `.formats` argument to `tabulate_rsp_subgroups` and `tabulate_survival_subgroups` to allow users to specify formats. * Added the `riskdiff` argument to `tabulate_rsp_subgroups` and `tabulate_survival_subgroups` to allow users to add a risk difference table column, and function `control_riskdiff` to specify settings for the risk difference column. * Added warning to `tabulate_rsp_subgroups` when `pval` statistic is selected but `df` has not been correctly generated to add p-values to the output table. * Added `n_rate` statistic as a non-default option to `estimate_incidence_rate` which returns both number of events observed and estimated incidence rate. * Added `fraction` statistic to the `analyze_var_count` method group. +* Improved `summarize_glm_count()` documentation and all its associated functions to better describe the results and the functions' purpose. ### Bug Fixes -* Fixed a bug in `a_surv_time` that threw an error when split only has `"is_event"`. * Added defaults for `d_count_cumulative` parameters as described in the documentation. -* Empty levels on `g_lineplot` x-axis are not shown in either plots. +* Fixed a bug of empty levels on `g_lineplot` x-axis were not shown in either plots. +* Fixed a bug in `a_surv_time` that threw an error when split only has `"is_event"`. * Fixed disappearing line in `g_lineplot` when using only one group or strata level. * Fixed defaults for formats and labels in `get_formats_from_stats` and `get_labels_from_stats`. * Fixed bug for linear scaling factor (`scale` parameter) being applied to response but not to rate in `h_glm_count` while all distributions have logarithmic link function.