rggplot2r-packagecran

ggplot2 claims that `inherit` must be a R6ClassGenerator


I'm trying to build an R package vignette with a very simple call to ggplot2 (plotting an ROC curve):

ggplot(ValidationRocPoints, aes(x = falsePositiveRate, y = truePositiveRate)) +
  geom_line()

(ValidationRocPoints is a list containing ROC curve data.)

I can run this fine from my Mac, but when I use the CRAN Win-Builder, I get the following error:

  • checking re-building of vignette outputs ... [32s] WARNING Error(s) in re-building vignettes: --- re-building 'AdvancedVignette.Rmd' using rmarkdown Quitting from lines 173-184 (AdvancedVignette.Rmd) Error: processing vignette 'AdvancedVignette.Rmd' failed with diagnostics: inherit must be a R6ClassGenerator. --- failed re-building 'AdvancedVignette.Rmd'

I'm unsure what is going on.


Solution

  • For anyone coming across this in the future, it appears that the problem was a temporary issue on CRAN win-builder that was resolved. Here's the related ggplot2 issue to that effect.