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

Fix separator div in case of wrapping #224

Closed Melkiades closed 9 months ago

Melkiades commented 10 months ago

Fixes #221

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           100       7  93.00%   454, 466, 499, 528, 652-658
R/labels.R              55       7  87.27%   49, 55, 64, 105, 133, 142, 146
R/matrix_form.R        468      31  93.38%   419-420, 515, 528-531, 550, 582, 676-677, 692-697, 727-730, 763-764, 796-797, 829, 901, 952, 1003, 1006, 1010
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           552      32  94.20%   82, 134, 203, 237, 245, 281, 338-341, 432-436, 443-448, 523, 630-631, 845, 860, 955, 1007, 1048, 1093, 1148, 1155
R/utils.R                3       0  100.00%
TOTAL                 2118     134  93.67%

Diff against main

Filename           Stmts    Miss  Cover
---------------  -------  ------  -------
R/generics.R          +5      +3  -2.79%
R/matrix_form.R       +1       0  +0.01%
R/tostring.R          +6      +1  -0.12%
TOTAL                +12      +4  -0.15%

Results for commit: aac6dfbf48bd6aa9688fcae79673d27beaa94eae

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   7s :stopwatch:   35 tests   35 :heavy_check_mark: 0 :zzz: 0 :x: 232 runs  232 :heavy_check_mark: 0 :zzz: 0 :x:

Results for commit aac6dfbf.

: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 | |:-----|:----:|:----:|:----:|:-----| | table_inset and titles and footers word wrapping | 👶 | | $+0.02$ | toString_and_wrapping_cooperates_well_with_separator_divisors |

Results for commit 7babd3836757c436dc7d018bc577410724970ba9

♻️ This comment has been updated with latest results.