Closed trevorld closed 1 year ago
{svglite}
will support R 4.1 features: https://github.com/r-lib/svglite/pull/140R-devel (will be 4.2.0) will introduce grDevices::dev.capabilities()
which allows package developer to query the implemented capabilities of the active graphics device at drawing time but the graphics device author must provide this information. In future could be used as a fallback for graphic devices that we don't know support the R 4.1 features.
Starting with {vdiffr}
v1.0.6 {vdiffr}
's version of svglite()
now has device name "devSVG_vdiffr"
which allows us to distinguish it from {svglite}
's device name of "devSVG"
: https://github.com/r-lib/vdiffr/pull/136
I think if you have R 4.2+ and {vdiffr}
1.06+ then we might have full coverage for current graphics devices and all future graphics devices assuming that they will pass that information to dev.capabilities()
.
guess_has_R4.1_features()
does our manual check{ragg}
devices support the R 4.1 features.