From 8b376dee7a24d94be878aa90135c128ce6de62ae Mon Sep 17 00:00:00 2001 From: Kyle Grealis Date: Wed, 14 Jan 2026 20:38:09 -0600 Subject: [PATCH 1/2] v0.3.0: enhancements to extras() and clean_table() --- DESCRIPTION | 2 +- NEWS.md | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 401bb38..76f27cb 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: sumExtras Title: Extra Functions for 'gtsummary' Table Styling -Version: 0.2.0 +Version: 0.3.0 Authors@R: c( person( diff --git a/NEWS.md b/NEWS.md index db6c0b6..ea189b2 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,17 @@ +# sumExtras 0.3.0 + +## New Features + +* New `.add_p_args` argument to `extras()` allows for passing `gtsummary::add_p()` arguments, such as: + - `test` for specifying statistical tests for each variable (i.e., `"t.test"`, `"fisher.test"`) + - `pvalue_fun` for formatting p-values + - `group`, `include`, etc. + - See `?gtsummary::add_p.tbl_summary` for more information of proper usage. + +## Improvements + +* Extended list of zero or `NA` value recognition used by `clean_table`. This fixes the funcion previously not recognizing `0 (0)` for Mean (SD). + # sumExtras 0.2.0 ## Breaking Changes From ea6627117519607f927e2675225557aba70559d8 Mon Sep 17 00:00:00 2001 From: Kyle Grealis Date: Thu, 15 Jan 2026 09:50:33 -0600 Subject: [PATCH 2/2] version 0.3.0 updates --- DESCRIPTION | 7 +++++++ NEWS.md | 2 +- man/sumExtras-package.Rd | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 76f27cb..68da780 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -16,6 +16,13 @@ Authors@R: role = c("ctb"), email = "balise@miami.edu", comment = c(ORCID = "0000-0002-9856-5901") + ), + person( + "Daniel", + "Maya", + email = "dheal.maya@gmail.com", + role = 'ctb', + comment = c(ORCID = "0000-0002-0164-7768") ) ) Description: Provides additional convenience functions for 'gtsummary' diff --git a/NEWS.md b/NEWS.md index ea189b2..6ff3846 100755 --- a/NEWS.md +++ b/NEWS.md @@ -3,7 +3,7 @@ ## New Features * New `.add_p_args` argument to `extras()` allows for passing `gtsummary::add_p()` arguments, such as: - - `test` for specifying statistical tests for each variable (i.e., `"t.test"`, `"fisher.test"`) + - `test` for specifying statistical tests for each variable (i.e., `"t.test"`, `"fisher.test"`). Thank you, Daniel Maya. - `pvalue_fun` for formatting p-values - `group`, `include`, etc. - See `?gtsummary::add_p.tbl_summary` for more information of proper usage. diff --git a/man/sumExtras-package.Rd b/man/sumExtras-package.Rd index 06f415d..637626a 100644 --- a/man/sumExtras-package.Rd +++ b/man/sumExtras-package.Rd @@ -83,6 +83,7 @@ Useful links: Other contributors: \itemize{ \item Raymond Balise \email{balise@miami.edu} (\href{https://orcid.org/0000-0002-9856-5901}{ORCID}) [contributor] + \item Daniel Maya \email{dheal.maya@gmail.com} (\href{https://orcid.org/0000-0002-0164-7768}{ORCID}) [contributor] } }