Skip to content

Commit

Permalink
prep for 0.9.5 [skip vbump] (#1253)
Browse files Browse the repository at this point in the history
# Pull Request

<!--- Replace `#nnn` with your issue link for reference. -->

Fixes #nnn
  • Loading branch information
shajoezhu committed Jun 21, 2024
1 parent aa63cd5 commit 6d6da70
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: tern
Title: Create Common TLGs Used in Clinical Trials
Version: 0.9.4.9010
Version: 0.9.5
Date: 2024-06-16
Authors@R: c(
person("Joe", "Zhu", , "joe.zhu@roche.com", role = c("aut", "cre")),
Expand All @@ -25,7 +25,7 @@ URL: https://insightsengineering.github.io/tern/,
BugReports: https://github.com/insightsengineering/tern/issues
Depends:
R (>= 3.6),
rtables (>= 0.6.7.9004)
rtables (>= 0.6.8)
Imports:
broom (>= 0.5.4),
car (>= 3.0-13),
Expand All @@ -34,7 +34,7 @@ Imports:
dplyr (>= 1.0.0),
emmeans (>= 1.8.0),
forcats (>= 1.0.0),
formatters (>= 0.5.7.9000),
formatters (>= 0.5.8),
ggplot2 (>= 3.5.0),
grid,
gridExtra (>= 2.0.0),
Expand Down
8 changes: 4 additions & 4 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# tern 0.9.4.9010
# tern 0.9.5

### Enhancements
* Added `facet_var` to `g_lineplot` to allow plot faceting by a factor variable.
* Updated `g_lineplot` legend to follow factor levels set by users.
* Added examples and tests for `label_all` parameter to `extract_survival_biomarkers` and `extract_survival_subgroups`.
* Added the `xticks`, `xlim`, and `ylim` arguments to `g_lineplot` to allow for customization of the x and y axes.
* Updated `g_lineplot` legend to follow factor levels set by users.

### Bug Fixes
* Fixed bug in `s_ancova` that prevented statistics from being printed when arm levels include special characters.
* Fixed bug in `decorate_grob` that prevented the right margins to be respected when adding title and footers decorations.
* Fixed a bug in `s_ancova` that prevented statistics from being printed when arm levels include special characters.
* Fixed a bug in `decorate_grob` that prevented the right margins to be respected when adding title and footers decorations.

### Miscellaneous
* Began deprecation of the unused `label_all` parameter to `tabulate_survival_biomarkers` and `tabulate_survival_subgroups`, with redirection to the same parameter in their associated `extract_*` functions.
Expand Down
2 changes: 1 addition & 1 deletion R/cox_regression.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ control_coxreg <- function(pval_method = c("wald", "likelihood"),
#' @param x (`list`)\cr result of the Cox regression model fitted by [fit_coxreg_univar()] (for univariate models)
#' or [fit_coxreg_multivar()] (for multivariate models).
#'
#' @return [tidy()] returns:
#' @return [broom::tidy()] returns:
#' * For `summary.coxph` objects, a `data.frame` with columns: `Pr(>|z|)`, `exp(coef)`, `exp(-coef)`, `lower .95`,
#' `upper .95`, `level`, and `n`.
#' * For `coxreg.univar` objects, a `data.frame` with columns: `effect`, `term`, `term_label`, `level`, `n`, `hr`,
Expand Down
2 changes: 1 addition & 1 deletion R/utils_split_funs.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' Collection of useful functions that are expanding on the core list of functions
#' provided by `rtables`. See [rtables::custom_split_funs] and [rtables::make_split_fun()]
#' for more information on how to make a custom split function. All these functions
#' work with [split_rows_by()] argument `split_fun` to modify the way the split
#' work with [rtables::split_rows_by()] argument `split_fun` to modify the way the split
#' happens. For other split functions, consider consulting [`rtables::split_funcs`].
#'
#' @seealso [rtables::make_split_fun()]
Expand Down
2 changes: 1 addition & 1 deletion man/tidy_coxreg.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/utils_split_funs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6d6da70

Please sign in to comment.