Package not available in package build after upgrade R using packrat

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 
+7
r rstudio r-package packrat
source share

No one has answered this question yet.

See related questions:

6
Creating and rebooting in RStudio generates a "Save file" error
4
Creating R Packages with Packrat and AppVeyor
3
Separate the user library and the system library in the RStudio Packages panel under Windows 10?
3
Dynamic library does not load into binary package assembly R
2
imported packages in devtools
one
How to take a snapshot of an R package for packrat?
one
warning: package grid is not available (for version R 3.1.2)
0
Why does R crash when adding DESeq2 to R package dependency?
0
the pipeline operator (%>%) is not recognized inside the R packet
0
Init package in an existing project is not initialized

All Articles