diff --git a/R/g_forest.R b/R/g_forest.R index 02b0ea59c5..35c2844f0e 100644 --- a/R/g_forest.R +++ b/R/g_forest.R @@ -71,7 +71,6 @@ #' formatters::var_labels(adrs) <- c(adrs_labels, "Response") #' df <- extract_rsp_subgroups( #' variables = list(rsp = "rsp", arm = "ARM", subgroups = c("SEX", "STRATA2")), -#' method = NULL, #' data = adrs #' ) #' # Full commonly used response table. diff --git a/man/g_forest.Rd b/man/g_forest.Rd index 7c591d6568..7144dd2ba7 100644 --- a/man/g_forest.Rd +++ b/man/g_forest.Rd @@ -124,7 +124,6 @@ adrs <- adrs \%>\% formatters::var_labels(adrs) <- c(adrs_labels, "Response") df <- extract_rsp_subgroups( variables = list(rsp = "rsp", arm = "ARM", subgroups = c("SEX", "STRATA2")), - method = NULL, data = adrs ) # Full commonly used response table. diff --git a/tests/testthat/test-g_forest.R b/tests/testthat/test-g_forest.R index 1565067173..a405fd32d9 100644 --- a/tests/testthat/test-g_forest.R +++ b/tests/testthat/test-g_forest.R @@ -11,7 +11,6 @@ adrs <- adrs %>% formatters::var_labels(adrs) <- c(adrs_labels, "Response") df <- extract_rsp_subgroups( variables = list(rsp = "rsp", arm = "ARM", subgroups = c("SEX", "STRATA2")), - method = NULL, data = adrs ) diff --git a/tests/testthat/test-h_response_subgroups.R b/tests/testthat/test-h_response_subgroups.R index c9c81d2bff..c8ab3b3127 100644 --- a/tests/testthat/test-h_response_subgroups.R +++ b/tests/testthat/test-h_response_subgroups.R @@ -211,7 +211,6 @@ testthat::test_that("h_odds_ratio_subgroups_df works as expected with groups_lis subgroups = c("SEX", "BMRKR2") ), data = adrs, - method = NULL, groups_lists = list( BMRKR2 = list( "low" = "LOW",