From 3a018c49b67b5ea52b4cea65c1ff2aa3eb466965 Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Mon, 2 Mar 2026 17:17:43 +0100 Subject: [PATCH 1/2] change the decimal format of tsids01 --- tests/testthat/_snaps/tsids01/tsids01.rtf | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 tests/testthat/_snaps/tsids01/tsids01.rtf diff --git a/tests/testthat/_snaps/tsids01/tsids01.rtf b/tests/testthat/_snaps/tsids01/tsids01.rtf old mode 100755 new mode 100644 From 61d51b97f34ee749629805e96f3531630bd5f2fc Mon Sep 17 00:00:00 2001 From: munoztd0 Date: Mon, 2 Mar 2026 11:50:56 +0100 Subject: [PATCH 2/2] change the decimal format of tsids01 --- tests/testthat/source_code/tsids01.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testthat/source_code/tsids01.R b/tests/testthat/source_code/tsids01.R index d81caf47..b9fcf207 100644 --- a/tests/testthat/source_code/tsids01.R +++ b/tests/testthat/source_code/tsids01.R @@ -84,14 +84,14 @@ lyt <- basic_table( summarize_num_patients( var = "USUBJID", .stats = "unique", - .formats = c("unique" = jjcsformat_count_fraction), + .formats = c("unique" = "xx (xx.xx%)"), .labels = c(unique = "Screening failures") ) %>% count_occurrences( vars = "DCSCREEN", drop = FALSE, .stats = "count_fraction_fixed_dp", - .formats = c("count_fraction_fixed_dp" = jjcsformat_count_fraction) + .formats = c("count_fraction_fixed_dp" = "xx (xx.xx%)") ) %>% count_patients_with_flags( var = "USUBJID", @@ -104,7 +104,7 @@ lyt <- basic_table( flag_variables = c("RANDFL"), nested = FALSE, .stats = "count_fraction", - .formats = c("count_fraction" = jjcsformat_count_fraction) + .formats = c("count_fraction" = "xx (xx.xx%)") ) result <- build_table(lyt, df = adsl, alt_counts_df = adsl_unq)