After updating the libraries in RStudio
, I get the error that has to do with the library ggplot2
.
p <- ggplot(overviewplotdata, aes(x=Dataset,
y=Well,
fill=value,
alpha=0.8))
p <- p + geom_raster()
p <- p + labs(x = "Knowledge Area", y = "Well")
p <- p + scale_colour_manual(values=c("red", "green"))
p <- p + guides(fill=FALSE)
p <- p + guides(alpha=FALSE)
p <- p + theme(plot.background = element_rect(fill = "transparent",
colour = NA),
panel.background = element_rect(fill = "transparent",
colour = NA),
panel.grid.major = element_line(colour = "grey")
)
print(p)
Error in ggint $ map_layout (panel, plot $ facet, layer_data, plot $ data): unused argument (plot $ data)
the version of ggplot2 is 2.1.0
Thank you very much.