From 9704a4ad886e6fe6d4fdfb111fa52e9e018f0f71 Mon Sep 17 00:00:00 2001 From: Davide Garolini Date: Wed, 18 Oct 2023 12:22:11 +0200 Subject: [PATCH] Fix integration for version 9.1 (#1097) --- tests/testthat/_snaps/g_forest/g-forest.svg | 2 +- tests/testthat/_snaps/response_subgroups.md | 16 ++++++------- .../_snaps/survival_duration_subgroups.md | 24 +++++++++---------- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/tests/testthat/_snaps/g_forest/g-forest.svg b/tests/testthat/_snaps/g_forest/g-forest.svg index a135fc759e..3c1e0223ed 100644 --- a/tests/testthat/_snaps/g_forest/g-forest.svg +++ b/tests/testthat/_snaps/g_forest/g-forest.svg @@ -18,13 +18,13 @@ -Baseline Risk Factors A: Drug X B: Placebo +Baseline Risk Factors Total n n Response (%) diff --git a/tests/testthat/_snaps/response_subgroups.md b/tests/testthat/_snaps/response_subgroups.md index 91972abd24..8e1516b277 100644 --- a/tests/testthat/_snaps/response_subgroups.md +++ b/tests/testthat/_snaps/response_subgroups.md @@ -139,8 +139,8 @@ Code res Output - Baseline Risk Factors B: Placebo A: Drug X - Total n n Response (%) n Response (%) Odds Ratio 95% CI p-value (Chi-Squared Test) + B: Placebo A: Drug X + Baseline Risk Factors Total n n Response (%) n Response (%) Odds Ratio 95% CI p-value (Chi-Squared Test) ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— All Patients 142 73 68.5% 69 85.5% 2.71 (1.18, 6.24) 0.0164 Sex @@ -185,8 +185,8 @@ Code res Output - Baseline Risk Factors REF COMP - Total n n Response (%) n Response (%) Odds Ratio 95% CI + REF COMP + Baseline Risk Factors Total n n Response (%) n Response (%) Odds Ratio 95% CI —————————————————————————————————————————————————————————————————————————————————————————————————————— All Patients 62 40 82.5% 22 9.1% 0.02 (<0.01, 0.11) var1 @@ -198,8 +198,8 @@ Code res Output - Baseline Risk Factors B: Placebo A: Drug X - Total n n Response (%) n Response (%) Odds Ratio 95% CI p-value (Chi-Squared Test) + B: Placebo A: Drug X + Baseline Risk Factors Total n n Response (%) n Response (%) Odds Ratio 95% CI p-value (Chi-Squared Test) ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— All Patients 142 73 68.5% 69 85.5% 2.71 (1.18, 6.24) 0.0164 @@ -208,8 +208,8 @@ Code res Output - Baseline Risk Factors B: Placebo A: Drug X - Total n n Response (%) n Response (%) Odds Ratio 95% CI p-value (Chi-Squared Test) + B: Placebo A: Drug X + Baseline Risk Factors Total n n Response (%) n Response (%) Odds Ratio 95% CI p-value (Chi-Squared Test) ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— All Patients 142 73 68.5% 69 85.5% 2.71 (1.18, 6.24) 0.0164 Race diff --git a/tests/testthat/_snaps/survival_duration_subgroups.md b/tests/testthat/_snaps/survival_duration_subgroups.md index b788c4c76f..35bdb34d9e 100644 --- a/tests/testthat/_snaps/survival_duration_subgroups.md +++ b/tests/testthat/_snaps/survival_duration_subgroups.md @@ -95,8 +95,8 @@ Code res Output - Baseline Risk Factors B: Placebo A: Drug X - Total Events Events Median (DAYS) Events Median (DAYS) Hazard Ratio 95% Wald CI + B: Placebo A: Drug X + Baseline Risk Factors Total Events Events Median (DAYS) Events Median (DAYS) Hazard Ratio 95% Wald CI ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— All Patients 101 57 727.8 44 974.6 0.71 (0.48, 1.06) Sex @@ -112,8 +112,8 @@ Code res Output - Baseline Risk Factors B: Placebo A: Drug X - Total Events Events Median (DAYS) Events Median (DAYS) Hazard Ratio 95% Wald CI + B: Placebo A: Drug X + Baseline Risk Factors Total Events Events Median (DAYS) Events Median (DAYS) Hazard Ratio 95% Wald CI ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————— All Patients 101 57 727.8 44 974.6 0.71 (0.48, 1.06) @@ -122,8 +122,8 @@ Code res Output - Baseline Risk Factors B: Placebo A: Drug X - Total Events Events Median (DAYS) Events Median (DAYS) Hazard Ratio 95% Wald CI + B: Placebo A: Drug X + Baseline Risk Factors Total Events Events Median (DAYS) Events Median (DAYS) Hazard Ratio 95% Wald CI ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————— All Patients 18 10 859.0 8 954.2 0.60 (0.23, 1.59) Geographic Region 1 @@ -136,8 +136,8 @@ Code res Output - Baseline Risk Factors B: Placebo A: Drug X - Total Events n Events Median (DAYS) n Events Median (DAYS) Hazard Ratio 95% Wald CI p-value (log-rank) + B: Placebo A: Drug X + Baseline Risk Factors Total Events n Events Median (DAYS) n Events Median (DAYS) Hazard Ratio 95% Wald CI p-value (log-rank) ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— All Patients 101 73 57 727.8 69 44 974.6 0.71 (0.48, 1.06) 0.0905 Race @@ -183,10 +183,10 @@ Code res Output - [1] "" "Total Events" "Total n" - [4] "Median (DAYS)" "Events" "n" - [7] "Median (DAYS)" "Events" "n" - [10] "Hazard Ratio" "95% Wald CI" "p-value (log-rank)" + [1] "Baseline Risk Factors" "Total Events" "Total n" + [4] "Median (DAYS)" "Events" "n" + [7] "Median (DAYS)" "Events" "n" + [10] "Hazard Ratio" "95% Wald CI" "p-value (log-rank)" # d_survival_subgroups_colvars functions as expected with valid input