Skip to content

Commit

Permalink
Merge branch 'main' into tbl_svysummary_jama_theme_update
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsjoberg authored Oct 21, 2024
2 parents d1552ed + dacc810 commit 10d92fb
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: gtsummary
Title: Presentation-Ready Data Summary and Analytic Result Tables
Version: 2.0.3.9000
Version: 2.0.3.9002
Authors@R: c(
person("Daniel D.", "Sjoberg", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-0862-2018")),
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ S3method(glance_fun_s3,default)
S3method(glance_fun_s3,mira)
S3method(global_pvalue_fun,default)
S3method(global_pvalue_fun,geeglm)
S3method(global_pvalue_fun,tidycrr)
S3method(inline_text,gtsummary)
S3method(inline_text,tbl_continuous)
S3method(inline_text,tbl_cross)
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# gtsummary (development version)

* Removed `global_pvalue_fun_tidycrr()` as already been migrated to the {tidycmprsk} package. (#1997)

* Bug fix in `add_ci.tbl_svysummary()` for factor variables where order was alphabetical instead of the factor levels. (#2036)

* Addressing encoding issue where `sort()` and `dplyr::arrange()` sorted differently, and the order of the `by` levels was inconsistent in the resulting table. (#2038)
Expand Down
2 changes: 1 addition & 1 deletion R/add_p.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ add_p <- function(x, ...) {
#' #### Specified neither `add_p(group)` nor `add_p(adj.vars)`
#'
#' - `"wilcox.test"` when `by` variable has two levels and variable is continuous.
#' - `"krustkal.test"` when `by` variable has more than two levels and variable is continuous.
#' - `"kruskal.test"` when `by` variable has more than two levels and variable is continuous.
#' - `"chisq.test.no.correct"` for categorical variables with all expected cell counts >=5,
#' and `"fisher.test"` for categorical variables with any expected cell count <5.
#'
Expand Down
4 changes: 0 additions & 4 deletions R/global_pvalue_fun.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,3 @@ global_pvalue_fun.geeglm <- function(x, type, ...) {

cardx::ard_aod_wald_test(x, ...)
}

#' @rdname global_pvalue_fun
#' @export
global_pvalue_fun.tidycrr <- global_pvalue_fun.geeglm
2 changes: 1 addition & 1 deletion man/add_p.tbl_summary.Rd

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

3 changes: 0 additions & 3 deletions man/global_pvalue_fun.Rd

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

0 comments on commit 10d92fb

Please sign in to comment.