Skip to content

Commit

Permalink
update (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
shajoezhu authored Jan 17, 2025
1 parent b5403da commit fe05a6e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Depends:
R (>= 4.2),
rlistings (>= 0.2.10),
rtables (>= 0.6.11),
tern (>= 0.9.6.9018)
tern (>= 0.9.7)
Imports:
pharmaverseadam (>= 1.1.0),
random.cdisc.data (>= 0.3.16)
Expand All @@ -46,7 +46,7 @@ VignetteBuilder:
knitr
Remotes:
insightsengineering/rtables@main,
insightsengineering/tern@main,
insightsengineering/tern@1281_cran_0.9.7,
pharmaverse/pharmaverseadam@main
biocViews:
Config/Needs/website: insightsengineering/nesttemplate
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-table_disclosures.R
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ testthat::test_that("Patient Disposition table is produced correctly", {
"DISCSTUD",
values = "Y",
.labels = c(count_fraction = "Discontinued Study"),
.formats = "xx (xx.xx%)"
.formats = c(count_fraction = "xx (xx.xx%)"),
) %>%
analyze_vars(
"DCSREAS",
Expand Down
8 changes: 4 additions & 4 deletions tests/testthat/test-table_dort01.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ testthat::test_that("DORT01 variant 1 is produced correctly", {
count_values(
vars = "USUBJID",
values = unique(adtte$USUBJID),
.labels = "Responders",
.labels = c(count = "Responders"),
.stats = "count"
) %>%
analyze_vars(
Expand Down Expand Up @@ -87,7 +87,7 @@ testthat::test_that("DORT01 variant 2 (selecting sectons) is produced correctly"
count_values(
vars = "USUBJID",
values = unique(adtte$USUBJID),
.labels = "Responders",
.labels = c(count = "Responders"),
.stats = "count"
) %>%
analyze_vars(
Expand Down Expand Up @@ -143,7 +143,7 @@ testthat::test_that("DORT01 variant 3 (modifying conftype and alpha level) is pr
count_values(
vars = "USUBJID",
values = unique(adtte$USUBJID),
.labels = "Responders",
.labels = c(count = "Responders"),
.stats = "count"
) %>%
analyze_vars(
Expand Down Expand Up @@ -199,7 +199,7 @@ testthat::test_that("DORT01 variant 4 (modifying time point for the “xx durati
count_values(
vars = "USUBJID",
values = unique(adtte$USUBJID),
.labels = "Responders",
.labels = c(count = "Responders"),
.stats = "count"
) %>%
analyze_vars(
Expand Down

0 comments on commit fe05a6e

Please sign in to comment.