-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: More robust 'guess_has_R4.1_features()' within R 4.2
* If the active graphics device has also implemented the new R 4.2 `dev.capabilities()` support then `guess_has_R4.1_features()` can now better guess R 4.1 graphic feature support when called within R 4.2. + In particular `guess_has_R4.1_features()` can now better guess R 4.1 graphic feature support in the `{grDevices}` bitmap devices (i.e. `bmp()`, `jpeg()`, `png()`, `tiff()`) when called within R 4.2 on Windows. Previously it was not possible to easily distinguish on Windows if the device was called with `type = "windows"` or `type = "cairo"` and hence we had to conservatively guess no such support even if `type = "cairo"` had been specified (and within R 4.1 we must still conservatively do so). + Also if in the future any graphic devices add R 4.1 graphic feature support as well as R 4.2 `dev.capabilities()` support then we should now be able to correctly guess such support within R 4.2 without needing to manually update `guess_has_R4.1_features()`. * `guess_has_R4.1_features()` now supports an argument `features` which allows one to limit the guessing of R4.1 feature support to a subset of `c("clippingPaths", "gradients", "masks", "patterns")`. Although all known graphic devices either implements all or none of these features this need not hold true in the future. progress on #50
- Loading branch information
Showing
9 changed files
with
94 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Package: gridpattern | ||
Type: Package | ||
Title: 'grid' Pattern Grobs | ||
Version: 0.5.2-1 | ||
Version: 0.5.2-2 | ||
Authors@R: c(person("Mike", "FC", role = "aut", comment = "Code/docs adapted from ggpattern"), | ||
person("Trevor L", "Davis", role=c("aut", "cre"), email="[email protected]"), | ||
person("Thomas Lin", "Pedersen", role = "ctb", comment = "new_data_frame() copied from ggplot2")) | ||
|
@@ -27,8 +27,9 @@ Suggests: | |
ambient, | ||
knitr, | ||
magick, | ||
ragg, | ||
ragg (>= 1.2.0), | ||
rmarkdown, | ||
svglite (>= 2.1.0), | ||
testthat, | ||
vdiffr | ||
VignetteBuilder: knitr, rmarkdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters