The xfig() device is deprecated in R 4.4.0
So we do not test it any more.
Cf. d04d9dbcf4
This commit is contained in:
parent
973eedc7f6
commit
90b81606fd
1 changed files with 4 additions and 2 deletions
|
|
@ -34,8 +34,10 @@ tryCatch(capabilities(), warning = function(w) {
|
|||
|
||||
# Check graphics devices
|
||||
# https://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/Devices.html
|
||||
for (dev_name in c("png", "jpeg", "tiff", "svg", "bmp", "pdf", "postscript",
|
||||
"xfig", "pictex", "cairo_pdf", "cairo_ps")) {
|
||||
devices <- c("png", "jpeg", "tiff", "svg", "bmp", "pdf", "postscript",
|
||||
if (getRversion() < "4.4.0") "xfig",
|
||||
"pictex", "cairo_pdf", "cairo_ps")
|
||||
for (dev_name in devices) {
|
||||
# Skip unsupported graphics devices (e.g. tiff in R >= 3.3 on CentOS 6)
|
||||
if (dev_name %in% names(capabilities()) && capabilities(dev_name) == FALSE) {
|
||||
next
|
||||
|
|
|
|||
Loading…
Reference in a new issue