vscode-R: tibble objects and pillar/cli formatting lead to terminal formatting/line wrap problems
Describe the bug
printing tibble objects results in weird formatting, timestamps (see #878). Changing option width (e.g., options(width = 150) does not have consistent results and generally does not resolve issue, nor does the Alt+Z terminal word wrap toggle. Printing of timings has also been observed in e.g., printed outputs from the targets package, so this may also be an interaction with formatting produced by the cli package.
To Reproduce R code to reproduce the behavior:
library(tibble)
print(mtcars)
print(as_tibble(mtcars))
Expected behavior
tibble objects should not cause timings to print or introduce line wrapping independent of terminal settings.
Screenshots

Environment (please complete the following information):
- OS: Windows 10
- VSCode Version: 1.63.2
- R Version: 4.1.2
- vscode-R version: 2.3.5
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (4 by maintainers)
FYI, I will not follow this thread any more, but if it turns out that the cli ANSI detection should be improved, please ping me in the cli repo. Thanks!