Re: [R-pkg-devel] [r-package-devel] Win.Metafile and package check - "Found the platform-specific device:"

2023-11-04 Thread Wayne.W.Jones
Update: I noticed in the ggplot2 codebase they also have a call to win.metafile - see https://github.com/tidyverse/ggplot2/blob/main/R/save.R#L280-L281 When I use grDevices::win.metafile instead of win.metafile it passes the local checks fine. Wayne -Original Message- From: Jones, Way

Re: [R-pkg-devel] [r-package-devel] Win.Metafile and package check - "Found the platform-specific device:"

2023-11-04 Thread Wayne.W.Jones
Hi Vladimir, Thanks for the suggestions. I've considered both but I can't see a way of doing what I'm trying to achieve without explicitly adding a call to win.metafile in my code. To explain a little more... GWSDAT is a Shiny App so we don't use the traditional R graphics device - so your su

[R-pkg-devel] [r-package-devel] Win.Metafile and package check - "Found the platform-specific device:"

2023-11-03 Thread Wayne.W.Jones
Dear R-Package-Devel, As part of GWSDAT package (https://github.com/waynegitshell/GWSDAT) we support the option to output plots to a WMF (https://r-graphics.org/recipe-output-vector-wmf) format if, and only if, the user is on Windows. However, when I run the package checks on here it complains