Skip to content
Prev 18780 / 21312 Next

[Bioc-devel] Is switching to Rmd vignettes a policy? And "polygon edge not found" on macOS error.

Herve documented the `polygon edge not found` error at https://github.com/Bioconductor/BBS/blob/master/Doc/Prepare-macOS-Mojave-HOWTO.md#major-issue-fontsxquartz-issue-on-macos-high-sierra-or-higher, including reproducible examples and the hack we use on the build system.

Reproducible example:

library(ggplot2)
png(tempfile(), type="quartz")
ggplot(data.frame(), aes(1, 1))
dev.off()

The hack we use on the build system is to put `options(bitmapType="cairo")` at the beginning of the `local({})` block in `/Library/Frameworks/R.framework/Resources/library/grDevices/R/grDevices`.

See the BBS documentation for more explanation.

Jennifer Wokaty
Bioconductor Core Team