tests/testthat/_snaps/print.md

Alternating pages print 3 pages

Code
  as.data.frame(rvest::html_table(tab_html[[1]]))
Output
                     X1                              X2
  1                Left                          Center
  2     Just the middle                 Just the middle
  3                  a1                              a1
  4                 mpg                             cyl
  5                21.0                               6
  6                21.0                               6
  7                22.8                               4
  8                21.4                               6
  9                18.7                               8
  10               18.1                               6
  11               14.3                               8
  12               24.4                               4
  13               22.8                               4
  14               19.2                               6
  15 Here's a footnote. 11:58 Wednesday, March 05, 2025
                                  X3    X4   X5    X6
  1                            Right  <NA> <NA>  <NA>
  2                  Just the middle  <NA> <NA>  <NA>
  3                               a1    a1   a1    a1
  4                               hp  disp drat    wt
  5                              110 160.0 3.90 2.620
  6                              110 160.0 3.90 2.875
  7                               93 108.0 3.85 2.320
  8                              110 258.0 3.08 3.215
  9                              175 360.0 3.15 3.440
  10                             105 225.0 2.76 3.460
  11                             245 360.0 3.21 3.570
  12                              62 146.7 3.69 3.190
  13                              95 140.8 3.92 3.150
  14                             123 167.6 3.92 3.440
  15 11:58 Wednesday, March 05, 2025  <NA> <NA>  <NA>
Code
  as.data.frame(rvest::html_table(tab_html[[2]]))
Output
                     X1                              X2
  1                Left                          Center
  2     Just the middle                 Just the middle
  3                  a1                              a1
  4                 mpg                             cyl
  5                21.0                               6
  6                21.0                               6
  7                22.8                               4
  8                21.4                               6
  9                18.7                               8
  10               18.1                               6
  11               14.3                               8
  12               24.4                               4
  13               22.8                               4
  14               19.2                               6
  15 Here's a footnote. 11:58 Wednesday, March 05, 2025
                                  X3    X4   X5   X6
  1                            Right  <NA> <NA> <NA>
  2                  Just the middle  <NA> <NA> <NA>
  3                               a1    a1   a1   a1
  4                               hp  qsec   vs   am
  5                              110 16.46    0    1
  6                              110 17.02    0    1
  7                               93 18.61    1    1
  8                              110 19.44    1    0
  9                              175 17.02    0    0
  10                             105 20.22    1    0
  11                             245 15.84    0    0
  12                              62 20.00    1    0
  13                              95 22.90    1    0
  14                             123 18.30    1    0
  15 11:58 Wednesday, March 05, 2025  <NA> <NA> <NA>
Code
  as.data.frame(rvest::html_table(tab_html[[3]]))
Output
                     X1                              X2
  1                Left                          Center
  2     Just the middle                 Just the middle
  3                  a1                              a1
  4                 mpg                             cyl
  5                21.0                               6
  6                21.0                               6
  7                22.8                               4
  8                21.4                               6
  9                18.7                               8
  10               18.1                               6
  11               14.3                               8
  12               24.4                               4
  13               22.8                               4
  14               19.2                               6
  15 Here's a footnote. 11:58 Wednesday, March 05, 2025
                                  X3   X4   X5
  1                            Right <NA> <NA>
  2                  Just the middle <NA> <NA>
  3                               a1   a1   a1
  4                               hp gear carb
  5                              110    4    4
  6                              110    4    4
  7                               93    4    1
  8                              110    3    1
  9                              175    3    2
  10                             105    3    1
  11                             245    3    4
  12                              62    4    2
  13                              95    4    2
  14                             123    4    4
  15 11:58 Wednesday, March 05, 2025 <NA> <NA>


Try the clinify package in your browser

Any scripts or data that you put into this service are public.

clinify documentation built on April 12, 2025, 1:45 a.m.