sachsmc / plotROC

Interactive ROC plots with ggplot + d3.js.
http://sachsmc.github.io/plotROC
Other
86 stars 15 forks source link

Incompatible version of ggproto error with new ggplot2 version 2.1.0.9001 #49

Closed vadimus202 closed 8 years ago

vadimus202 commented 8 years ago

Since Hadley is planning to release ggplot2 2.2.0 in early November, I've been testing a release candidate version 2.1.0.9001.

library(plotROC)
D.ex <- rbinom(50, 1, .5)
fakedata <- data.frame(M1 = rnorm(50, mean = D.ex), D = D.ex)
ggplot(fakedata, aes(m = M1, d = D)) + geom_roc() + style_roc()

Error: GeomRoc was built with an incompatible version of ggproto. Please reinstall the package that provides this extension.

sessionInfo() R version 3.3.2 (2016-10-31) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] plotROC_2.0.1 ggplot2_2.1.0.9001

loaded via a namespace (and not attached): [1] colorspace_1.2-7 scales_0.4.0.9003 assertthat_0.1 lazyeval_0.2.0
[5] plyr_1.8.4 tools_3.3.2 gtable_0.2.0 tibble_1.2
[9] Rcpp_0.12.7 grid_3.3.2 munsell_0.4.3

vadimus202 commented 8 years ago

The issue is fixed in the development version of plotROC. Sorry.