Skip to content

Commit

Permalink
Fix integration for version 9.1 (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
Melkiades authored Oct 18, 2023
1 parent b3ba467 commit 9704a4a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/g_forest/g-forest.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions tests/testthat/_snaps/response_subgroups.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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
Expand Down
24 changes: 12 additions & 12 deletions tests/testthat/_snaps/survival_duration_subgroups.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)

Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 9704a4a

Please sign in to comment.