Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade formatters and rlistings (#298)
There is also one more tests failing on dependency tests due to formatters+rlistings combination ```r ── Error ('test-utils.R:25'): to_flextable: supported class `listing_df` ─────── Error in `FUN(X[[i]], ...)`: argument "fontspec" is missing, with no default Backtrace: ▆ 1. └─teal.reporter:::to_flextable(lsting) at test-utils.R:25:3 2. ├─rlistings::matrix_form(content) 3. └─rlistings::matrix_form(content) 4. └─rlistings (local) .local(obj, indent_rownames, expand_newlines) 5. ├─formatters::MatrixPrintForm(...) 6. │ └─base::structure(...) 7. ├─formatters::make_row_df(obj) 8. └─rlistings::make_row_df(obj) 9. └─rlistings (local) .local(...) 10. ├─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col]) 11. └─rlistings:::vec_nlines(tt[[col]], max_width = colwidths[col]) 12. ├─base::unlist(lapply(format_colvector(colvec = vec), nlines, max_width = max_width)) 13. └─base::lapply(format_colvector(colvec = vec), nlines, max_width = max_width) 14. ├─formatters (local) FUN(X[[i]], ...) 15. └─formatters (local) FUN(X[[i]], ...) 16. └─base::vapply(...) 17. └─formatters (local) FUN(X[[i]], ...) 18. └─formatters::wrap_txt(xi, max_width, fontspec = fontspec) 19. └─formatters::open_font_dev(fontspec) ``` --------- Signed-off-by: Marcin <[email protected]>
- Loading branch information