On 04/11/2023 5:35 a.m., wayne.w.jo...@shell.com wrote:
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.

That sounds like two bugs in the check code:

1. It complains about win.metafile even though you made its use conditional on being on Windows.

2.  It doesn't complain about grDevices::win.metafile.

I don't think you said, but this looks like a NOTE rather than a WARNING or ERROR. I'd use the grDevices::win.metafile for now, but wouldn't be surprised if the NOTE turns up again later when #2 gets fixed.

Duncan Murdoch

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to