insightsengineering / formatters

A framework for creating listings of raw data that include specialized formatting, headers, footers, referential footnotes, and pagination.
https://insightsengineering.github.io/formatters/
Other
15 stars 6 forks source link

Improve pagination error print (re-do with verbose + details) #210

Closed Melkiades closed 1 year ago

Melkiades commented 1 year ago

Fixes #209

github-actions[bot] commented 1 year ago

Unit Tests Summary

    1 files      4 suites   8s :stopwatch:   33 tests   33 :heavy_check_mark: 0 :zzz: 0 :x: 227 runs  227 :heavy_check_mark: 0 :zzz: 0 :x:

Results for commit 3ee4772a.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 1 year ago

badge

Code Coverage Summary

Filename             Stmts    Miss  Cover    Missing
-----------------  -------  ------  -------  ----------------------------------------------------------------------------------------------------------
R/format_value.R       197      14  92.89%   94, 110-117, 197, 216, 287, 409, 420, 428
R/generics.R            98       4  95.92%   455, 467, 500, 529
R/labels.R              55       7  87.27%   53, 59, 68, 109, 137, 146, 150
R/matrix_form.R        416      27  93.51%   355-356, 451, 463-464, 483, 514, 603-604, 619-624, 651-652, 684-685, 717-718, 750, 836, 884, 936, 938, 941
R/mpf_exporters.R      124      12  90.32%   2, 84-86, 180, 220, 225, 408, 410, 415-416, 442
R/page_size.R           45       1  97.78%   169
R/pagination.R         498      22  95.58%   421, 493, 613-614, 619, 673-674, 692-700, 986, 993, 1017-1019, 1152-1153, 1165-1166, 1178-1179
R/tostring.R           493      25  94.93%   83, 135, 198, 232, 240-241, 276, 329-330, 419-421, 428-431, 600-601, 783, 878, 931, 972, 1017, 1072, 1079
R/utils.R                3       0  100.00%
TOTAL                 1929     112  94.19%

Diff against main

Filename          Stmts    Miss  Cover
--------------  -------  ------  -------
R/pagination.R      +19       0  +0.18%
TOTAL               +19       0  +0.06%

Results for commit: 3ee4772aaa9bec9d3bf394221e7369bc272178db

Minimum allowed coverage is 80%

:recycle: This comment has been updated with latest results