Closed tbates closed 3 years ago
The code you give above seems to work on my mac. Are you using the latest version of rsvg?
Thanks for looking!
I'm on CRAN packageVersion("rsvg")
[1] ‘2.1’
But the example pdf opens for you in preview.app, it may be a bug in preview Version 11.0 (1018.2)
Will pass on to Apple feedback.
preview.app says the pdf is damaged or in an unrecognised format
If you open the png, all is fine. And the pdf file shows a valid preview-image if you do quick-view in the Finder (on MacOS 11.2).
Not sure if this is an Apple Preview.app bug, or an rsvg pdf export problem, or something else.
Here's the miscreant file
g.pdf