Skip to content

Commit fe05a6e

Browse files
authored
update (#179)
1 parent b5403da commit fe05a6e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Depends:
2525
R (>= 4.2),
2626
rlistings (>= 0.2.10),
2727
rtables (>= 0.6.11),
28-
tern (>= 0.9.6.9018)
28+
tern (>= 0.9.7)
2929
Imports:
3030
pharmaverseadam (>= 1.1.0),
3131
random.cdisc.data (>= 0.3.16)
@@ -46,7 +46,7 @@ VignetteBuilder:
4646
knitr
4747
Remotes:
4848
insightsengineering/rtables@main,
49-
insightsengineering/tern@main,
49+
insightsengineering/tern@1281_cran_0.9.7,
5050
pharmaverse/pharmaverseadam@main
5151
biocViews:
5252
Config/Needs/website: insightsengineering/nesttemplate

tests/testthat/test-table_disclosures.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ testthat::test_that("Patient Disposition table is produced correctly", {
9494
"DISCSTUD",
9595
values = "Y",
9696
.labels = c(count_fraction = "Discontinued Study"),
97-
.formats = "xx (xx.xx%)"
97+
.formats = c(count_fraction = "xx (xx.xx%)"),
9898
) %>%
9999
analyze_vars(
100100
"DCSREAS",

tests/testthat/test-table_dort01.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ testthat::test_that("DORT01 variant 1 is produced correctly", {
3232
count_values(
3333
vars = "USUBJID",
3434
values = unique(adtte$USUBJID),
35-
.labels = "Responders",
35+
.labels = c(count = "Responders"),
3636
.stats = "count"
3737
) %>%
3838
analyze_vars(
@@ -87,7 +87,7 @@ testthat::test_that("DORT01 variant 2 (selecting sectons) is produced correctly"
8787
count_values(
8888
vars = "USUBJID",
8989
values = unique(adtte$USUBJID),
90-
.labels = "Responders",
90+
.labels = c(count = "Responders"),
9191
.stats = "count"
9292
) %>%
9393
analyze_vars(
@@ -143,7 +143,7 @@ testthat::test_that("DORT01 variant 3 (modifying conftype and alpha level) is pr
143143
count_values(
144144
vars = "USUBJID",
145145
values = unique(adtte$USUBJID),
146-
.labels = "Responders",
146+
.labels = c(count = "Responders"),
147147
.stats = "count"
148148
) %>%
149149
analyze_vars(
@@ -199,7 +199,7 @@ testthat::test_that("DORT01 variant 4 (modifying time point for the “xx durati
199199
count_values(
200200
vars = "USUBJID",
201201
values = unique(adtte$USUBJID),
202-
.labels = "Responders",
202+
.labels = c(count = "Responders"),
203203
.stats = "count"
204204
) %>%
205205
analyze_vars(

0 commit comments

Comments
 (0)