I just upgraded my R, copied all my previous packages to the the new install folder, and then ran update.packages()
. It downloaded 138 packages, but then during unpacking of the zips, it managed to unpack only 4 of the packages before stopping with the error
Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open the connection
Unlike another question in SO, mine stopped with just the error above without any other warning messages (and the solution in the other question) didn't work.
I managed to find all the zips locally. Is there a way for me to just complete the unpacking of the remaining 134 using the local zips?
FWIW, I tried the suggestion in this question to use devtools
but when install package for devtools
, it hit the same error during unpacking sigh