-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Permit function devices to use file
argument
#3810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching this! This basically looks good to me. One corner case in my mind is when a function has both file
and filename
in its arguments, but I expect such functions are very few (or none).
Could you add a NEWS bullet?
Co-Authored-By: Hiroaki Yutani <yutani.ini@gmail.com>
Okay, fixed the styling and added a NEWS bullet as requested. |
NEWS
Outdated
* Support graphics devices that use the `file` argument instead of `fileneame` | ||
in `ggsave()` (@bwiernik, 3810) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, sorry, we are now using NEWS.md
instead of NEWS
. Could you move this to NEWS.md
?
Thanks! |
Permit function devices to use `file` argument (tidyverse#3810)
Devices like
devEMF::emf
orCairo::CairoSVG
usefile
instead offilename
. They currently fail when provided indevice
to ggsave. This fixes that.Closes #3807