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

[test snapshot fail on main] #244

Closed shajoezhu closed 8 months ago

shajoezhu commented 8 months ago
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-formatters.R:814:3'): All supported 1d format cases of decimal alignment ──
  `res_dec` not identical to `expected`.
  4/18 mismatches
  x[15]: "m        N=11                              N=11   right    "
  y[15]: "m        >999.9                          >999.9   right    "

  x[16]: "n        >999.9           >999.9                  dec_left "
  y[16]: "n        >999.99          >999.99                 dec_left "

  x[17]: "o        >999.99          >999.99                 dec_left "
  y[17]: "o   1.1111 | (<0.0001)     1.1111 | (<0.0001)     dec_left "

  x[18]: "p   1.1111 | (<0.0001)     1.1111 | (<0.0001)     right    "
  y[18]: "p        N=11                              N=11   right    "