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

Apply styler, fix lint #219

Closed edelarua closed 10 months ago

edelarua commented 10 months ago

Closes #218

Package was updated iteratively - each change is contained within a separate commit in this PR.

github-actions[bot] commented 10 months ago

badge

Code Coverage Summary

Filename             Stmts    Miss  Cover    Missing
-----------------  -------  ------  -------  -------------------------------------------------------------------------------------------------------------
R/format_value.R       193      13  93.26%   90, 106-113, 193, 212, 283, 405, 416, 424
R/generics.R            95       4  95.79%   454, 466, 499, 528
R/labels.R              55       7  87.27%   49, 55, 64, 105, 133, 142, 146
R/matrix_form.R        470      31  93.40%   415-416, 511, 524-527, 546, 578, 672-673, 688-693, 723-726, 759-760, 792-793, 825, 911, 962, 1012, 1015, 1019
R/mpf_exporters.R      142      14  90.14%   2, 83-85, 183, 223, 228, 411, 414, 420-423, 461
R/page_size.R           45       1  97.78%   171
R/pagination.R         560      29  94.82%   437, 509, 630-631, 636, 699-700, 721-731, 1035, 1042, 1070-1077, 1223-1224, 1236-1237, 1251-1252
R/tostring.R           533      31  94.18%   82, 134, 203, 237, 245, 281, 338-341, 432-436, 443-448, 622-623, 819, 834, 929, 982, 1023, 1068, 1123, 1130
R/utils.R                3       0  100.00%
TOTAL                 2096     130  93.80%

Diff against main

Filename             Stmts    Miss  Cover
-----------------  -------  ------  -------
R/format_value.R        -4      -1  +0.37%
R/generics.R            -3       0  -0.13%
R/matrix_form.R        +16      +4  -0.65%
R/mpf_exporters.R      +18      +2  -0.18%
R/pagination.R         +57      +2  +0.19%
R/tostring.R           +12      +5  -0.83%
TOTAL                  +96     +12  -0.30%

Results for commit: c7be5fcaa3e93755744105884dfee441fd036d5c

Minimum allowed coverage is 80%

:recycle: This comment has been updated with latest results

github-actions[bot] commented 10 months ago

Unit Tests Summary

    1 files      4 suites   9s :stopwatch:   33 tests   33 :heavy_check_mark: 0 :zzz: 0 :x: 228 runs  228 :heavy_check_mark: 0 :zzz: 0 :x:

Results for commit c7be5fca.

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