Skip to content

Moved relevant decoration expansion into formatters for rlistings fix #1032

Moved relevant decoration expansion into formatters for rlistings fix

Moved relevant decoration expansion into formatters for rlistings fix #1032

GitHub Actions / Unit Tests Summary failed Jan 9, 2024 in 0s

1 errors, 197 pass in 1m 37s

    1 files  ±0     24 suites  ±0   1m 37s ⏱️ +8s
  198 tests +1    197 ✅ +2  0 💤 ±0  0 ❌  - 1  1 🔥 ±0 
1 509 runs  +3  1 507 ✅ +4  0 💤 ±0  1 ❌  - 1  1 🔥 ±0 

Results for commit 94fc60a. ± Comparison against earlier commit 082b739.

Annotations

Check warning on line 0 in Printing_tables

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 3 runs failed: Support_for_newline_characters_in_all_the_parts (Printing_tables)

rtables.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
`out` not identical to `expected`. ('test-printing.R:675:3')
`out` not identical to `expected`.
Lengths differ: 49 is not 46

Check failure on line 0 in Printing_tables

See this annotation in the file changed.

@github-actions github-actions / Unit Tests Summary

1 out of 3 runs with error: Support_for_newline_characters_in_all_the_parts (Printing_tables)

rtables.Rcheck/tests/testthat/junit-result.xml [took 0s]
Raw output
Error in `wrap_string(str, width, collapse)`: Found \n in a string that was meant to be wrapped. This should not happen because matrix_form should take care of them before this step (toString, i.e. the printing machinery). Please contact the maintaner or file an issue. ('test-printing.R:678:3')
Error in `wrap_string(str, width, collapse)`: Found \n in a string that was meant to be wrapped. This should not happen because matrix_form should take care of them before this step (toString, i.e. the printing machinery). Please contact the maintaner or file an issue.
Backtrace:
     ▆
  1. ├─base::strsplit(...) at test-printing.R:678:3
  2. ├─base::toString(tt_for_nl, tf_wrap = TRUE, hsep = "-")
  3. └─rtables::toString(tt_for_nl, tf_wrap = TRUE, hsep = "-")
  4.   └─rtables (local) .local(x, ...)
  5.     ├─base::toString(...)
  6.     └─formatters::toString(...)
  7.       └─formatters (local) .local(x, ...)
  8.         └─formatters::wrap_txt(allts, max_width)
  9.           ├─base::unlist(wrap_string(str, width, collapse), use.names = FALSE)
 10.           └─formatters::wrap_string(str, width, collapse)