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

chore: drop scale_name ggplot2 arg and drop fansi dep #663

Merged
merged 9 commits into from
Jul 1, 2024

Conversation

olivroy
Copy link
Contributor

@olivroy olivroy commented Jun 28, 2024

Drop fansi dep and avoid setting scale_name in ggplot2

@olivroy olivroy marked this pull request as ready for review June 28, 2024 16:43
@olivroy olivroy changed the title chore: drop scale_name ggplot2 arg and use fansi::strip_ctl() instead of deprecated fansi::strip_sgr() chore: drop scale_name ggplot2 arg and drop fansi dep Jun 28, 2024
@olivroy
Copy link
Contributor Author

olivroy commented Jun 28, 2024

@krlmlr since cli provides a lot of the ansi functions, would you consider dropping fansi? or is the performance loss high?

Copy link
Member

@krlmlr krlmlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking this on! No objections, but tibble uses fansi too IIUC.

R/extent.R Outdated Show resolved Hide resolved
Copy link
Member

@krlmlr krlmlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking this on! No objections, but tibble uses fansi too IIUC.

Co-authored-by: Kirill Müller <[email protected]>
@olivroy
Copy link
Contributor Author

olivroy commented Jun 28, 2024

I opened a PR in tibble and test them both! (tidyverse/tibble#1589)

@krlmlr krlmlr merged commit a9a1af3 into r-lib:main Jul 1, 2024
33 checks passed
@krlmlr
Copy link
Member

krlmlr commented Jul 1, 2024

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants