Closed pawelru closed 8 months ago
1 files 4 suites 5s :stopwatch: 34 tests 27 :white_check_mark: 7 :zzz: 0 :x: 86 runs 75 :white_check_mark: 11 :zzz: 0 :x:
Results for commit 0f782cb4.
:recycle: This comment has been updated with latest results.
Currently, both "minimal" and "release" strategies fails the test with the following:
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-paginate_listing.R:231'): paginate_to_mpfs works with wrapping on keycols ──
sapply(...) (`actual`) not equal to rep(5, 5) (`expected`).
`actual`: 4 6 4 6 5
`expected`: 5 5 5 5 5
── Failure ('test-paginate_listing.R:280'): paginate_to_mpfs works with wrapping on keycols when doing horizontal pagination ──
sapply(...) (`actual`) not equal to rep(5, 10) (`expected`).
`actual`: 4 4 6 6 4 4 6 6 5 5
`expected`: 5 5 5 5 5 5 5 5 5 5
[ FAIL 2 | WARN 0 | SKIP 11 | PASS 73 ]
Error: Test failures
The "maximal" works fine.
For me, this looks very much formatters
-related. If the development version is used (as in "maximal" strategy) - everything is fine. I ran the test locally which confirms my thinking. However, I am not fully convinced as I cannot relate this to a recent changes in formatters
but I am definitely missing some knowledge here. Calling @insightsengineering/nest-sme for help on this (identical to the similar PR in rtables
).
Currently, both "minimal" and "release" strategies fails the test with the following:
══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-paginate_listing.R:231'): paginate_to_mpfs works with wrapping on keycols ── sapply(...) (`actual`) not equal to rep(5, 5) (`expected`). `actual`: 4 6 4 6 5 `expected`: 5 5 5 5 5 ── Failure ('test-paginate_listing.R:280'): paginate_to_mpfs works with wrapping on keycols when doing horizontal pagination ── sapply(...) (`actual`) not equal to rep(5, 10) (`expected`). `actual`: 4 4 6 6 4 4 6 6 5 5 `expected`: 5 5 5 5 5 5 5 5 5 5 [ FAIL 2 | WARN 0 | SKIP 11 | PASS 73 ] Error: Test failures
The "maximal" works fine.
For me, this looks very much
formatters
-related. If the development version is used (as in "maximal" strategy) - everything is fine. I ran the test locally which confirms my thinking. However, I am not fully convinced as I cannot relate this to a recent changes informatters
but I am definitely missing some knowledge here. Calling @insightsengineering/nest-sme for help on this (identical to the similar PR inrtables
).
This is related to the pagination + wrapping fix I did recently. I am happy to see that the tests I added are spotting this instantly. As I mentioned in the other PR in {rtables}, changes in {formatters} are only tested on simplified and limited contexts, while important regression tests are in {rlistings} or {rtables} where issues usually are filed.
I think we need to keep the version updated and, if possible, always have maximal relationship with {formatters}
Code Coverage Summary
Diff against main
Results for commit: 0f782cb408ea0395dd695ddfe53c91ab66d57b4b
Minimum allowed coverage is
80%
:recycle: This comment has been updated with latest results