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

94 internalize function@main #234

Closed ayogasekaram closed 9 months ago

ayogasekaram commented 9 months ago

closes #94

github-actions[bot] commented 9 months ago

badge

Code Coverage Summary

Filename             Stmts    Miss  Cover    Missing
-----------------  -------  ------  -------  ------------------------------------------------------------------------------------------------------------------------
R/format_value.R       193      13  93.26%   88, 104-111, 191, 210, 281, 403, 414, 422
R/generics.R           105       7  93.33%   454, 466, 499, 528, 652-658
R/labels.R              55       7  87.27%   49, 55, 64, 105, 133, 142, 146
R/matrix_form.R        469      31  93.39%   425-426, 521, 534-537, 556, 588, 682-683, 698-703, 733-736, 769-770, 802-803, 835, 907, 958, 1009, 1012, 1016
R/mpf_exporters.R      224      96  57.14%   2, 83-85, 183, 223, 228, 411, 414, 420-423, 461-635
R/page_size.R           45       1  97.78%   174
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           571      38  93.35%   29-34, 91, 143, 212, 246, 254, 290, 347-350, 443-447, 454-459, 537, 644-645, 863, 878, 973, 1025, 1066, 1111, 1166, 1173
R/utils.R                3       0  100.00%
TOTAL                 2225     222  90.02%

Diff against main

Filename             Stmts    Miss  Cover
-----------------  -------  ------  -------
R/mpf_exporters.R      +82     +82  -33.00%
TOTAL                  +82     +82  -3.44%

Results for commit: c4feda96f08985edda0d6c7b4024cdf618627b12

Minimum allowed coverage is 80%

:recycle: This comment has been updated with latest results

github-actions[bot] commented 9 months ago

Unit Tests Summary

    1 files      4 suites   7s :stopwatch:   36 tests   36 :heavy_check_mark: 0 :zzz: 0 :x: 240 runs  240 :heavy_check_mark: 0 :zzz: 0 :x:

Results for commit c4feda96.

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

github-actions[bot] commented 9 months ago

Unit Test Performance Difference

Additional test case details | Test Suite | $Status$ | Time on `main` | $±Time$ | Test Case | |:-----|:----:|:----:|:----:|:-----| | exporters | 💀 | $0.24$ | $-0.24$ | export_as_txt_maintains_horizontal_separator_from_table | | formatters | 💀 | $0.03$ | $-0.03$ | Default_horizontal_separator_works | | formatters | 👶 | | $+0.02$ | Default_hsep_works | | formatters | 💀 | $0.01$ | $-0.01$ | reorder_ref_fnotes_orders_referential_footnotes_correctly | | table_inset and titles and footers word wrapping | 💀 | $0.03$ | $-0.03$ | toString_and_wrapping_cooperates_well_with_separator_divisors |

Results for commit 8b8ebb79d870065b02e3717e7d81a604f8ea8a78

♻️ This comment has been updated with latest results.