I had everything working with R and RStudio, but then I moved the folders when cleaning up my computer directories & files. Now I\'m getting the error message below.
I ran into this problem. It turned out that my .Rprofile had calls to a package that was not installed. Removing these lines allowed installation to proceed normally.