Skip to content

Commit

Permalink
Update snapshots (#64)
Browse files Browse the repository at this point in the history
Closes #63
  • Loading branch information
edelarua authored Sep 7, 2023
1 parent 2881463 commit ef51044
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/table_dmt01.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
Male 55 (41%) 52 (38.8%) 62 (47%) 169 (42.2%)
Ethnicity
n 134 134 132 400
NOT REPORTED 6 (4.5%) 10 (7.5%) 11 (8.3%) 27 (6.8%)
HISPANIC OR LATINO 15 (11.2%) 18 (13.4%) 15 (11.4%) 48 (12%)
NOT HISPANIC OR LATINO 104 (77.6%) 103 (76.9%) 101 (76.5%) 308 (77%)
NOT REPORTED 6 (4.5%) 10 (7.5%) 11 (8.3%) 27 (6.8%)
UNKNOWN 9 (6.7%) 3 (2.2%) 5 (3.8%) 17 (4.2%)
Race
n 134 134 132 400
Expand Down Expand Up @@ -66,9 +66,9 @@
Male 55 (41%) 52 (38.8%) 62 (47%)
Ethnicity
n 134 134 132
NOT REPORTED 6 (4.5%) 10 (7.5%) 11 (8.3%)
HISPANIC OR LATINO 15 (11.2%) 18 (13.4%) 15 (11.4%)
NOT HISPANIC OR LATINO 104 (77.6%) 103 (76.9%) 101 (76.5%)
NOT REPORTED 6 (4.5%) 10 (7.5%) 11 (8.3%)
UNKNOWN 9 (6.7%) 3 (2.2%) 5 (3.8%)
Race
n 134 134 132
Expand Down
22 changes: 11 additions & 11 deletions tests/testthat/_snaps/table_lbt14.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,11 +282,11 @@
Alanine Aminotransferase Measurement
Not High 134 134 132
Not High 134 (100%) 134 (100%) 132 (100%)
Missing 0 0 0
1 0 0 0
2 0 0 0
3 0 0 0
4 0 0 0
Missing 0 0 0
1 0 0 0
Not High 0 0 0
1 0 0 0
Expand Down Expand Up @@ -325,39 +325,39 @@
C-Reactive Protein Measurement
Not High 114 112 115
Not High 45 (33.6%) 55 (41.0%) 57 (43.2%)
Missing 0 0 0
1 18 (13.4%) 18 (13.4%) 19 (14.4%)
2 19 (14.2%) 10 (7.5%) 11 (8.3%)
3 22 (16.4%) 13 (9.7%) 20 (15.2%)
4 10 (7.5%) 16 (11.9%) 8 (6.1%)
Missing 0 0 0
1 8 10 7
Not High 5 (3.7%) 2 (1.5%) 2 (1.5%)
Missing 0 0 0
1 0 1 (0.7%) 0
2 1 (0.7%) 3 (2.2%) 3 (2.3%)
3 1 (0.7%) 1 (0.7%) 0
4 1 (0.7%) 3 (2.2%) 2 (1.5%)
Missing 0 0 0
2 2 6 7
Not High 1 (0.7%) 4 (3.0%) 4 (3.0%)
Missing 0 0 0
1 0 1 (0.7%) 2 (1.5%)
2 1 (0.7%) 1 (0.7%) 0
3 0 0 0
4 0 0 1 (0.8%)
Missing 0 0 0
3 7 4 3
Not High 3 (2.2%) 0 2 (1.5%)
Missing 0 0 0
1 2 (1.5%) 1 (0.7%) 1 (0.8%)
2 0 1 (0.7%) 0
3 1 (0.7%) 1 (0.7%) 0
4 1 (0.7%) 1 (0.7%) 0
Missing 0 0 0
4 3 2 0
Not High 1 (0.7%) 0 0
Missing 0 0 0
1 0 1 (0.7%) 0
2 0 0 0
3 1 (0.7%) 1 (0.7%) 0
4 1 (0.7%) 0 0
Missing 0 0 0
Missing 0 0 0
Not High 0 0 0
1 0 0 0
Expand All @@ -368,39 +368,39 @@
Immunoglobulin A Measurement
Not High 119 116 113
Not High 55 (41.0%) 54 (40.3%) 51 (38.6%)
Missing 0 0 0
1 18 (13.4%) 11 (8.2%) 15 (11.4%)
2 14 (10.4%) 22 (16.4%) 19 (14.4%)
3 20 (14.9%) 19 (14.2%) 20 (15.2%)
4 12 (9.0%) 10 (7.5%) 8 (6.1%)
Missing 0 0 0
1 5 4 2
Not High 4 (3.0%) 1 (0.7%) 2 (1.5%)
Missing 0 0 0
1 0 0 0
2 1 (0.7%) 1 (0.7%) 0
3 0 2 (1.5%) 0
4 0 0 0
Missing 0 0 0
2 4 4 5
Not High 2 (1.5%) 3 (2.2%) 3 (2.3%)
Missing 0 0 0
1 1 (0.7%) 0 2 (1.5%)
2 0 0 0
3 1 (0.7%) 0 0
4 0 1 (0.7%) 0
Missing 0 0 0
3 4 5 11
Not High 3 (2.2%) 1 (0.7%) 6 (4.5%)
Missing 0 0 0
1 0 1 (0.7%) 1 (0.8%)
2 1 (0.7%) 0 0
3 0 2 (1.5%) 3 (2.3%)
4 0 1 (0.7%) 1 (0.8%)
Missing 0 0 0
4 2 5 1
Not High 0 3 (2.2%) 1 (0.8%)
Missing 0 0 0
1 0 0 0
2 1 (0.7%) 1 (0.7%) 0
3 0 0 0
4 1 (0.7%) 1 (0.7%) 0
Missing 0 0 0
Missing 0 0 0
Not High 0 0 0
1 0 0 0
Expand Down
44 changes: 22 additions & 22 deletions tests/testthat/_snaps/table_ratet01.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
Code
res
Output
B: Placebo A: Drug X C: Combination
(N=134) (N=134) (N=132)
———————————————————————————————————————————————————————————————————————————————————————————————————
Number of exacerbations per patient
0 10 (7.46%) 6 (4.48%) 11 (8.33%)
1 25 (18.66%) 21 (15.67%) 14 (10.61%)
2 38 (28.36%) 41 (30.60%) 33 (25.00%)
3 22 (16.42%) 26 (19.40%) 21 (15.91%)
4 13 (9.70%) 18 (13.43%) 30 (22.73%)
5 11 (8.21%) 10 (7.46%) 12 (9.09%)
6 10 (7.46%) 7 (5.22%) 7 (5.30%)
7 3 (2.24%) 4 (2.99%) 3 (2.27%)
8 1 (0.75%) 1 (0.75%) 1 (0.76%)
9 1 (0.75%) 0 (0.00%) 0 (0.00%)
Unadjusted exacerbation rate (per year)
Rate 7.2364 8.2148 9.8131
Adjusted (QP) exacerbation rate (per year)
Rate 2.4550 2.8514 3.4304
Rate CI (1.6194, 3.7219) (1.8974, 4.2850) (2.2946, 5.1284)
Rate Ratio 1.1615 1.3973
Rate Ratio CI (0.6462, 2.0877) (0.7789, 2.5067)
p value 0.6169 0.2619
B: Placebo A: Drug X C: Combination
(N=134) (N=134) (N=132)
——————————————————————————————————————————————————————————————————————————————————————————————————————
Number of exacerbations per patient
0 10 (7.46%) 6 (4.48%) 11 (8.33%)
1 25 (18.66%) 21 (15.67%) 14 (10.61%)
2 38 (28.36%) 41 (30.60%) 33 (25.00%)
3 22 (16.42%) 26 (19.40%) 21 (15.91%)
4 13 (9.70%) 18 (13.43%) 30 (22.73%)
5 11 (8.21%) 10 (7.46%) 12 (9.09%)
6 10 (7.46%) 7 (5.22%) 7 (5.30%)
7 3 (2.24%) 4 (2.99%) 3 (2.27%)
8 1 (0.75%) 1 (0.75%) 1 (0.76%)
9 1 (0.75%) 0 (0.00%) 0 (0.00%)
Unadjusted exacerbation rate (per year)
Rate 7.2364 8.2148 9.8131
Adjusted (QP) exacerbation rate (per year)
Rate 7.1215 8.2714 9.9508
Rate CI (4.6899, 10.8140) (5.5080, 12.4212) (6.6579, 14.8723)
Rate Ratio 1.1615 1.3973
Rate Ratio CI (0.6462, 2.0877) (0.7789, 2.5067)
p value 0.6169 0.2619

2 changes: 1 addition & 1 deletion tests/testthat/_snaps/table_rmpt04.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
Ethnicity (N=400) (N=400)
——————————————————————————————————————————————————————————————————————————————
Total Number of Patients and Patient Time 217 (54.2%) 20641
NOT REPORTED 18 (4.5%) 2085
HISPANIC OR LATINO 28 (7.0%) 2423
NOT HISPANIC OR LATINO 165 (41.2%) 15570
NOT REPORTED 18 (4.5%) 2085
UNKNOWN 6 (1.5%) 563
——————————————————————————————————————————————————————————————————————————————
Expand Down

0 comments on commit ef51044

Please sign in to comment.