Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix integration for version 9.1 #1097

Merged
merged 3 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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