Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edelarua committed Sep 3, 2024
1 parent c8ab151 commit 766bd7f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/g_forest.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
#' 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.
Expand Down
1 change: 1 addition & 0 deletions man/g_forest.Rd

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

1 change: 1 addition & 0 deletions tests/testthat/test-g_forest.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ 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
)

Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-response_subgroups.R
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ testthat::test_that("d_rsp_subgroups_colvars functions as expected with valid in

result <- d_rsp_subgroups_colvars(
vars = vars,
method = "p-value (Chi-Squared Test)",
conf_level = 0.9
)

Expand Down

0 comments on commit 766bd7f

Please sign in to comment.