diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index af49b41e68..3230ea665b 100755 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ default_language_version: python: python3 repos: - repo: https://github.com/lorenzwalthert/precommit - rev: v0.4.0 + rev: v0.4.1 hooks: - id: style-files name: Style code with `styler` diff --git a/DESCRIPTION b/DESCRIPTION index 98c429b7f0..0b0cd2a819 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: teal.modules.clinical Title: 'teal' Modules for Standard Clinical Outputs -Version: 0.9.0.9014 -Date: 2024-03-27 +Version: 0.9.0.9015 +Date: 2024-04-09 Authors@R: c( person("Joe", "Zhu", , "joe.zhu@roche.com", role = c("aut", "cre")), person("Jana", "Stoilova", , "jana.stoilova@roche.com", role = "aut"), diff --git a/NEWS.md b/NEWS.md index 8f53d36c28..85ebe26e9f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# teal.modules.clinical 0.9.0.9014 +# teal.modules.clinical 0.9.0.9015 ### Enhancements * Updated `tm_g_forest_rsp` and `tm_g_forest_tte` to use refactored version of `g_forest`. Plots are now displayed as `ggplot` objects instead of `grob` objects. Added parameters `font_size` and `rel_width_forest` to control font size and width of plot relative to table, respectively. diff --git a/R/tm_g_lineplot.R b/R/tm_g_lineplot.R index 807a66113b..fe50c3b716 100644 --- a/R/tm_g_lineplot.R +++ b/R/tm_g_lineplot.R @@ -156,7 +156,7 @@ template_g_lineplot <- function(dataname = "ANL", y_lab = ggplot2_args_ylab, legend_title = ggplot2_args_legend_title, ggtheme = ggplot2::theme_minimal(), - control = control_summarize_vars(conf_level = conf_level), + control = control_analyze_vars(conf_level = conf_level), subtitle_add_paramcd = FALSE, subtitle_add_unit = FALSE ), diff --git a/tests/testthat/_snaps/tm_g_lineplot.md b/tests/testthat/_snaps/tm_g_lineplot.md index 63684b92d8..28d5b3ca9f 100644 --- a/tests/testthat/_snaps/tm_g_lineplot.md +++ b/tests/testthat/_snaps/tm_g_lineplot.md @@ -22,8 +22,8 @@ title = "Plot of Mean and 95% Mean Confidence Interval of AVAL by Visit", subtitle = "", caption = NULL, y_lab = "AVAL Mean Values for", legend_title = NULL, ggtheme = ggplot2::theme_minimal(), - control = control_summarize_vars(conf_level = 0.95), - subtitle_add_paramcd = FALSE, subtitle_add_unit = FALSE) + control = control_analyze_vars(conf_level = 0.95), subtitle_add_paramcd = FALSE, + subtitle_add_unit = FALSE) plot } @@ -52,7 +52,7 @@ table_font_size = 4, newpage = FALSE, title = "Plot of Median and 90% Median Confidence Interval of CHG by Visit", subtitle = "", caption = NULL, y_lab = "CHG Median Values for", legend_title = NULL, ggtheme = ggplot2::theme_minimal(), - control = control_summarize_vars(conf_level = 0.9), subtitle_add_paramcd = FALSE, + control = control_analyze_vars(conf_level = 0.9), subtitle_add_paramcd = FALSE, subtitle_add_unit = FALSE) plot }