Skip to content
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

Can't run output that has dplyr warnings through latex #6755

Closed
ggrothendieck opened this issue Feb 23, 2023 · 2 comments
Closed

Can't run output that has dplyr warnings through latex #6755

ggrothendieck opened this issue Feb 23, 2023 · 2 comments

Comments

@ggrothendieck
Copy link

ggrothendieck commented Feb 23, 2023

This isn't really a dplyr problem -- it is a latex problem because latex was developed before unicode existed; nevertheless, from a practical point of view it makes it hard to run an arbitrary dplyr script that may have warnings through latex using knitr::spin since dplyr warnings include a unicode character \u2139 that makes latex fail. See
yihui/knitr#2231

@DavisVaughan
Copy link
Member

I've added some notes of my own experience but i think it is a knitr bug so im going to close here and we will track this over there

@cderv
Copy link
Contributor

cderv commented Feb 27, 2023

@DavisVaughan I think this is related to cli url support in formatting functions - This was also reported in yihui/knitr#2234 and I looked into there to found that the deprecation warning from lifecycle was now using url which in message and it seems there is some ANSI characters still present. Probably related to r-lib/cli#581

So I don't think it is a knitr issue. I'll comment on knitr side about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants