From e33741a33fd0cbf088dc0a6926f9d5b078ccef4e Mon Sep 17 00:00:00 2001 From: Emily de la Rua <59304861+edelarua@users.noreply.github.com> Date: Fri, 5 Apr 2024 08:08:09 -0400 Subject: [PATCH] Fix failing integration tests (#241) Closes #240 --- .../_snaps/stable/tables-efficacy-mmrmt01.md | 4 +-- .../_snaps/stable/tables-efficacy-rbmit01.md | 36 +++++++++---------- .../_snaps/stable/tables-efficacy-ttet01.md | 6 ++-- .../stable/tables-lab-results-lbt11_bl.md | 6 ++-- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/package/tests/testthat/_snaps/stable/tables-efficacy-mmrmt01.md b/package/tests/testthat/_snaps/stable/tables-efficacy-mmrmt01.md index 2da6c85db4..7651df082f 100644 --- a/package/tests/testthat/_snaps/stable/tables-efficacy-mmrmt01.md +++ b/package/tests/testthat/_snaps/stable/tables-efficacy-mmrmt01.md @@ -13,7 +13,7 @@ Difference in Adjusted Means (SE) 0.759 (0.973) -0.325 (0.976) 95% CI (-1.155, 2.672) (-2.243, 1.593) Relative Increase (%) 21.8% -9.3% - p-value (MMRM) 0.4362 0.7394 + p-value (MMRM) 0.4362 0.7393 WEEK 2 DAY 15 n 134 134 132 Adjusted Mean (SE) 9.135 (0.768) 9.018 (0.767) 8.509 (0.773) @@ -21,7 +21,7 @@ Difference in Adjusted Means (SE) -0.117 (1.087) -0.626 (1.090) 95% CI (-2.253, 2.020) (-2.768, 1.517) Relative Increase (%) -1.3% -6.8% - p-value (MMRM) 0.9146 0.5662 + p-value (MMRM) 0.9147 0.5662 WEEK 3 DAY 22 n 134 134 132 Adjusted Mean (SE) 13.547 (0.871) 16.014 (0.871) 15.789 (0.877) diff --git a/package/tests/testthat/_snaps/stable/tables-efficacy-rbmit01.md b/package/tests/testthat/_snaps/stable/tables-efficacy-rbmit01.md index 3915375ff1..4242c9d782 100644 --- a/package/tests/testthat/_snaps/stable/tables-efficacy-rbmit01.md +++ b/package/tests/testthat/_snaps/stable/tables-efficacy-rbmit01.md @@ -13,24 +13,24 @@ Relative Reduction (%) 5.7% p-value (RBMI) 0.8932 5 - Adjusted Mean (SE) -4.247 (0.649) -2.815 (0.646) - 95% CI (-5.527, -2.966) (-4.091, -1.540) - Difference in Adjusted Means (SE) 1.431 (0.915) - 95% CI (-0.377, 3.239) - Relative Reduction (%) -33.7% - p-value (RBMI) 0.1200 + Adjusted Mean (SE) -4.241 (0.646) -2.814 (0.643) + 95% CI (-5.537, -2.984) (-4.084, -1.545) + Difference in Adjusted Means (SE) 1.447 (0.915) + 95% CI (-0.360, 3.254) + Relative Reduction (%) -34.0% + p-value (RBMI) 0.1159 6 - Adjusted Mean (SE) -6.388 (0.724) -4.115 (0.692) - 95% CI (-7.820, -4.956) (-5.481, -2.748) - Difference in Adjusted Means (SE) 2.274 (1.005) - 95% CI (0.287, 4.261) - Relative Reduction (%) -35.6% - p-value (RBMI) 0.0252 + Adjusted Mean (SE) -6.365 (0.721) -4.123 (0.689) + 95% CI (-7.791, -4.939) (-5.484, -2.761) + Difference in Adjusted Means (SE) 2.242 (0.998) + 95% CI (0.269, 4.216) + Relative Reduction (%) -35.2% + p-value (RBMI) 0.0262 7 - Adjusted Mean (SE) -7.649 (0.792) -4.812 (0.764) - 95% CI (-9.217, -6.081) (-6.323, -3.301) - Difference in Adjusted Means (SE) 2.836 (1.121) - 95% CI (0.617, 5.056) - Relative Reduction (%) -37.1% - p-value (RBMI) 0.0127 + Adjusted Mean (SE) -7.665 (0.831) -4.802 (0.762) + 95% CI (-9.314, -6.017) (-6.308, -3.296) + Difference in Adjusted Means (SE) 2.863 (1.120) + 95% CI (0.645, 5.082) + Relative Reduction (%) -37.4% + p-value (RBMI) 0.0118 diff --git a/package/tests/testthat/_snaps/stable/tables-efficacy-ttet01.md b/package/tests/testthat/_snaps/stable/tables-efficacy-ttet01.md index 0625309f47..0922521b3a 100644 --- a/package/tests/testthat/_snaps/stable/tables-efficacy-ttet01.md +++ b/package/tests/testthat/_snaps/stable/tables-efficacy-ttet01.md @@ -128,9 +128,9 @@ Hazard Ratio 1.00 1.29 95% CI (0.69, 1.44) (0.91, 1.83) Stratified Analysis - p-value (log-rank) 0.9998 0.1541 - Hazard Ratio 1.00 1.29 - 95% CI (0.69, 1.44) (0.91, 1.83) + p-value (log-rank) 0.9978 0.1733 + Hazard Ratio 1.00 1.27 + 95% CI (0.69, 1.44) (0.90, 1.81) 12 Months Patients remaining at risk 49 48 37 Event Free Rate (%) 56.72 56.72 47.73 diff --git a/package/tests/testthat/_snaps/stable/tables-lab-results-lbt11_bl.md b/package/tests/testthat/_snaps/stable/tables-lab-results-lbt11_bl.md index 73c9cfd104..23e0c6119b 100644 --- a/package/tests/testthat/_snaps/stable/tables-lab-results-lbt11_bl.md +++ b/package/tests/testthat/_snaps/stable/tables-lab-results-lbt11_bl.md @@ -64,9 +64,9 @@ Hazard Ratio 1.27 0.84 95% CI (0.63, 2.56) (0.40, 1.75) Stratified By: RACE, SEX - p-value (log-rank) 0.5013 0.6413 - Hazard Ratio 1.27 0.84 - 95% CI (0.63, 2.56) (0.40, 1.75) + p-value (log-rank) 0.0858 0.1605 + Hazard Ratio 0.51 0.57 + 95% CI (0.23, 1.12) (0.26, 1.26) ——————————————————————————————————————————————————————————————————————————————————————— {1} - Censored observations: range minimum & maximum