-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output of vroom::vroom does not display properly in Quarto HTML #537
Comments
@allefeld Can you provide a minimal example I can run myself? |
Here it is: File ```{r}
df <- vroom::vroom("test.csv")
``` File ,Column 2,12
1,2,
,3, Screenshot from rendered Screenshot from same code run in a terminal: Cell output HTML code: <div class="cell-output cell-output-stderr">
<pre><code>New names:
Rows: 2 Columns: 3
── Column specification
──────────────────────────────────────────────────────── Delimiter: "," dbl
(2): ...1, Column 2 lgl (1): 12
ℹ Use `spec()` to retrieve the full column specification for this data. ℹ
Specify the column types or set `show_col_types = FALSE` to quiet this message.
• `` -> `...1`</code></pre>
</div> |
Thanks. This is the output of
|
Agreed, seems like vroom creates its output in a strange way. Control characters to move the cursor? |
This is what it looks like in an R session in a terminal:
This is what it looks like in a Quarto document rendered to HTML:
I obviously don't expect the terminal colors to be reproduced. But beyond that, output seems to be out of order, line breaks are not respected etc.
In case this is a bug in Quarto and not in vroom, I'm tagging @cscheid.
The text was updated successfully, but these errors were encountered: