-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Should ggsave use ragg if available? #4086
Comments
I think yes, considering the default Windows graphic device has problems. c.f. #4040 |
I think the next release of ragg with full support of rtl and bidirectional text will make such a transition even more obvious. Should we even import ragg to make sure it is present? Thoughts? |
I think the only argument against importing it would be if there are systems or old setups where ragg is not available. If that's not the case, then I'd support importing ragg. I'm also planning to use it as the default null device in cowplot. |
Just a quick note. Since systemfonts seems not available on R <=3.3, we cannot require ragg on these versions (as it imports systemfonts). R 3.3 is still within the tidyverse's R version support policy, so we cannot import ragg until R 4.1 is released, or systemfonts will be available again (I believe it will). |
In what way is it not available? As a binary or completely? There is nothing in ragg preventing it from being used on 3.3 and earlier, but CRAN will not build binaries on old versions |
As probably you already notice (so you disabled GitHub Actions CI check on these versions, right...?), the compilation on R <=3.3 fails with the following error. This error is copied from https://github.com/r-lib/systemfonts/runs/1031786802#step:10:19, but I kept seeing this error on the ggplot2's CI until #4192. Should I file an issue on systemfont's repo?
|
Sorry, I was looking at ragg when I wrote the last message. Shouldn't be any problem to make it work on 3.3 again |
Thanks. My only concern is that cpp11 seems to have some problems about testing on R 3.3. Not sure if this is some actual problem or not, though... |
I believe this is already addressed by #4388. |
Just a point for discussion. I don't think ggplot2 should depend on it (at least not yet), since it is not critical to its use, but should we check if it is installed and use it if it is for png, tiff, and jpeg files?
The text was updated successfully, but these errors were encountered: