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

Update snapshots after fix in the wrapping + newline support #68

Merged
merged 11 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from 5 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
57 changes: 30 additions & 27 deletions tests/testthat/_snaps/pagination_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@
titles

—————————————————————————————————————————————
SOME A: Drug B: C: Combina
TOPLEFT X Placebo tion
(N=134) (N=134) (N=132)
A: Drug B: C: Combina
X Placebo tion
SOME
TOPLEFT (N=134) (N=134) (N=132)
—————————————————————————————————————————————
- Any 122 123 120
Grade - (91.0%) (91.8%) (90.9%)
Expand Down Expand Up @@ -80,7 +81,7 @@
- 50 45 63 (47.7%)
Any (37.3%) (33.6%)
Grad
e
e -
Grad 50 45 63 (47.7%)
e (37.3%) (33.6%)
1-2
Expand All @@ -92,7 +93,7 @@
- 48 48 50 (37.9%)
Any (35.8%) (35.8%)
Grad
e
e -
Grad 48 48 50 (37.9%)
e (35.8%) (35.8%)
1-2
Expand Down Expand Up @@ -122,9 +123,10 @@
titles

—————————————————————————————————————————————
SOME A: Drug B: C: Combina
TOPLEFT X Placebo tion
(N=134) (N=134) (N=132)
A: Drug B: C: Combina
X Placebo tion
SOME
TOPLEFT (N=134) (N=134) (N=132)
—————————————————————————————————————————————
cl D.1
- Any 79 67 80 (60.6%)
Expand All @@ -141,7 +143,7 @@
- 48 42 50 (37.9%)
Any (35.8%) (31.3%)
Grad
e
e -
Grad 48 42 50 (37.9%)
e (35.8%) (31.3%)
3-4
Expand All @@ -160,7 +162,7 @@
- 47 58 57 (43.2%)
Any (35.1%) (43.3%)
Grad
e
e -
Grad 47 58 57 (43.2%)
e (35.1%) (43.3%)
1-2
Expand All @@ -177,7 +179,7 @@
- 47 49 43 (32.6%)
Any (35.1%) (36.6%)
Grad
e
e -
Grad 47 49 43 (32.6%)
e 5 (35.1%) (36.6%)
—————————————————————————————————————————————
Expand All @@ -201,9 +203,10 @@
titles

—————————————————————————————————————————————
SOME A: Drug B: C: Combina
TOPLEFT X Placebo tion
(N=134) (N=134) (N=132)
A: Drug B: C: Combina
X Placebo tion
SOME
TOPLEFT (N=134) (N=134) (N=132)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to check

—————————————————————————————————————————————
cl A.1
- Any 78 75 89 (67.4%)
Expand All @@ -220,7 +223,7 @@
- 48 48 50 (37.9%)
Any (35.8%) (35.8%)
Grad
e
e -
Grad 48 48 50 (37.9%)
e (35.8%) (35.8%)
1-2
Expand Down Expand Up @@ -254,8 +257,8 @@
titles

——————————————————————————————————————————————————————————————
SOME TOPLEFT A: Drug X B: Placebo C: Combination
(N=134) (N=134) (N=132)
A: Drug X B: Placebo C: Combination
SOME TOPLEFT (N=134) (N=134) (N=132)
——————————————————————————————————————————————————————————————
cl C.1
- Any Grade - 43 (32.1%) 46 (34.3%) 43 (32.6%)
Expand Down Expand Up @@ -293,8 +296,8 @@
titles

——————————————————————————————————————————————————————————————
SOME TOPLEFT A: Drug X B: Placebo C: Combination
(N=134) (N=134) (N=132)
A: Drug X B: Placebo C: Combination
SOME TOPLEFT (N=134) (N=134) (N=132)
——————————————————————————————————————————————————————————————
cl C.1
- Any Grade - 43 (32.1%) 46 (34.3%) 43 (32.6%)
Expand Down Expand Up @@ -332,8 +335,8 @@
titles

———————————————————————————————————————————————————————————————————
SOME TOPLEFT A: Drug X B: Placebo C: Combination
(N=134) (N=134) (N=132)
A: Drug X B: Placebo C: Combination
SOME TOPLEFT (N=134) (N=134) (N=132)
———————————————————————————————————————————————————————————————————
- Any Grade - 122 (91.0%) 123 (91.8%) 120 (90.9%)
Grade 1-2 13 (9.7%) 19 (14.2%) 11 (8.3%)
Expand Down Expand Up @@ -444,8 +447,8 @@
titles

——————————————————————————————————————————————————————————————
SOME TOPLEFT A: Drug X B: Placebo C: Combination
(N=134) (N=134) (N=132)
A: Drug X B: Placebo C: Combination
SOME TOPLEFT (N=134) (N=134) (N=132)
——————————————————————————————————————————————————————————————
cl D.2
- Any Grade - 47 (35.1%) 58 (43.3%) 57 (43.2%)
Expand Down Expand Up @@ -478,8 +481,8 @@
titles

——————————————————————————————————————————————————————————————
SOME TOPLEFT A: Drug X B: Placebo C: Combination
(N=134) (N=134) (N=132)
A: Drug X B: Placebo C: Combination
SOME TOPLEFT (N=134) (N=134) (N=132)
——————————————————————————————————————————————————————————————
cl C.2
- Any Grade - 35 (26.1%) 48 (35.8%) 55 (41.7%)
Expand Down Expand Up @@ -527,8 +530,8 @@
titles

——————————————————————————————————————————————————————————————
SOME TOPLEFT A: Drug X B: Placebo C: Combination
(N=134) (N=134) (N=132)
A: Drug X B: Placebo C: Combination
SOME TOPLEFT (N=134) (N=134) (N=132)
——————————————————————————————————————————————————————————————
cl C.2
- Any Grade - 35 (26.1%) 48 (35.8%) 55 (41.7%)
Expand Down
7 changes: 3 additions & 4 deletions tests/testthat/_snaps/table_adat03.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
Code
res
Output
Treatment Group
Visit Total Number Samples with
Melkiades marked this conversation as resolved.
Show resolved Hide resolved
of Measurable Concentration
Samples {1} Mean SD Median Minimum Maximum CV (%) Geometric Mean ≤ 15μg/mL {2}
Total Number Samples with
Treatment Group of Measurable Concentration
Visit Samples {1} Mean SD Median Minimum Maximum CV (%) Geometric Mean ≤ 15μg/mL {2}
————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
A: Drug X (N=536)
Day 1 402 0.000e+00 0.000e+00 0.000e+00 0.000e+00 0.000e+00 NA NA 402 (100%)
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/table_aet01_aesi.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@
Code
res
Output
Standardized MedDRA Query A: Drug X B: Placebo C: Combination
(N=134) (N=134) (N=132)
A: Drug X B: Placebo C: Combination
Standardized MedDRA Query (N=134) (N=134) (N=132)
——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
C.1.1.1.3/B.2.2.3.1 AESI (BROAD)
Total number of patients with at least one AE 58 (43.3%) 60 (44.8%) 66 (50.0%)
Expand Down
14 changes: 10 additions & 4 deletions tests/testthat/_snaps/table_aet02.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@
res
Output
MedDRA System Organ Class
High Level Term A: Drug X B: Placebo C: Combination
High Level Term
MedDRA Preferred Term A: Drug X B: Placebo C: Combination
MedDRA System Organ Class
High Level Term
MedDRA Preferred Term (N=134) (N=134) (N=132)
————————————————————————————————————————————————————————————————————————————————————————————————————————
Total number of patients with at least one adverse event 100 (74.6%) 98 (73.1%) 103 (78.0%)
Expand Down Expand Up @@ -157,8 +160,8 @@
Code
res
Output
MedDRA Preferred Term A: Drug X B: Placebo C: Combination
(N=134) (N=134) (N=132)
A: Drug X B: Placebo C: Combination
MedDRA Preferred Term (N=134) (N=134) (N=132)
————————————————————————————————————————————————————————————————————————————————————————————————————
Total number of patients with at least one adverse event 100 (74.6%) 98 (73.1%) 103 (78.0%)
Total number of events 502 480 604
Expand Down Expand Up @@ -247,7 +250,10 @@
res
Output
MedDRA System Organ Class
High Level Term A: Drug X B: Placebo C: Combination
High Level Term
MedDRA Preferred Term A: Drug X B: Placebo C: Combination
MedDRA System Organ Class
High Level Term
MedDRA Preferred Term (N=134) (N=134) (N=132)
————————————————————————————————————————————————————————————————————
cl A.1
Expand Down
5 changes: 4 additions & 1 deletion tests/testthat/_snaps/table_aet03.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
res
Output
MedDRA System Organ Class
MedDRA Preferred Term A: Drug X B: Placebo C: Combination
MedDRA Preferred Term
Severity/Intensity A: Drug X B: Placebo C: Combination
MedDRA System Organ Class
MedDRA Preferred Term
Severity/Intensity (N=134) (N=134) (N=132)
—————————————————————————————————————————————————————————————————————
- Any Intensity - 100 (74.6%) 98 (73.1%) 103 (78.0%)
Expand Down
Loading