Closed
Description
Since a9b3b17, if a device
is passed to ggsave()
and this device lacks a ...
argument (at least if it also uses a file
argument instead of filename
), it produces an "unused argument" error.
ggplot2::ggsave("test.emf", ggplot2::ggplot(), device = devEMF::emf)
#> Saving 7 x 5 in image
#> Error in (function (file = "Rplot.emf", width = 7, height = 7, bg = "transparent", : unused argument (filename = "test.emf")
Created on 2021-07-02 by the reprex package (v2.0.0)