I made a minimal R package, and made a function that simply creates two plots and uses grid.arrange to lay them out. Even though I import gridExtra and ggplot2, I get an error :
could not find function "ggplotGrob".
I have ggplot2 1.0.0, gridExtra 0.9.1, and R 3.1.1.
The contents of NAMESPACE are :
exportPattern("^[[:alpha:]]+")
import(ggplot2, gridExtra)
Can these R packages be made to work in harmony ?