I recently upgraded to R 3.1.3, and I'm packrat package using RStudio and packrat . I am trying to rebuild my package using RStudio in the build and reboot built-in tool, but this will not work. I keep getting the following error:
Updating standaRd documentation Loading standaRd Error in (function (dep_name, dep_ver = NA, dep_compare = NA) : Dependency package ggplot2 not available. Calls: suppressPackageStartupMessages ... <Anonymous> -> load_all -> load_depends -> mapply -> <Anonymous> Execution halted Exited with status 1.
The fact is that I have ggplot2 installed in all places, including my local libraries and packrat libraries for this project for both R 3.1.2 and R 3.1.3. I tried to download them to no avail.
Also using devtools::build() and devtools::document() both work, so I assume this is an RStudio problem?
NOTE. I am using RStudio Version 0.99.235.
EDIT: I also don't see any of my documentation for my package, and it doesn't seem to be in my package library.
Second EDIT: since then I deleted R 3.1.3 and returned to R 3.1.2 and I am still getting the same problem.
Third EDIT: these are my dependencies:
Depends: R (>= 3.1.2), ggplot2 (>= 1.0.0), grid
r rstudio r-package packrat
nathaneastwood
source share