Skip to content

Commit 61d51b9

Browse files
committed
change the decimal format of tsids01
1 parent 3a018c4 commit 61d51b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/testthat/source_code/tsids01.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@ lyt <- basic_table(
8484
summarize_num_patients(
8585
var = "USUBJID",
8686
.stats = "unique",
87-
.formats = c("unique" = jjcsformat_count_fraction),
87+
.formats = c("unique" = "xx (xx.xx%)"),
8888
.labels = c(unique = "Screening failures")
8989
) %>%
9090
count_occurrences(
9191
vars = "DCSCREEN",
9292
drop = FALSE,
9393
.stats = "count_fraction_fixed_dp",
94-
.formats = c("count_fraction_fixed_dp" = jjcsformat_count_fraction)
94+
.formats = c("count_fraction_fixed_dp" = "xx (xx.xx%)")
9595
) %>%
9696
count_patients_with_flags(
9797
var = "USUBJID",
@@ -104,7 +104,7 @@ lyt <- basic_table(
104104
flag_variables = c("RANDFL"),
105105
nested = FALSE,
106106
.stats = "count_fraction",
107-
.formats = c("count_fraction" = jjcsformat_count_fraction)
107+
.formats = c("count_fraction" = "xx (xx.xx%)")
108108
)
109109

110110
result <- build_table(lyt, df = adsl, alt_counts_df = adsl_unq)

0 commit comments

Comments
 (0)