I get this error on several packages, but not all. Cloning the repo and running R CMD INSTALL works just fine. I've had a colleague who can reproduce this and another who can't -- so I'm not sure where to start debugging. Session info below.
install_github("RWordPress", "duncantl")
Installing github repo(s) RWordPress/master from duncantl
Installing RWordPress.zip from https://github.com/duncantl/RWordPress/zipball
Error in expand(src, list = TRUE) :
zip file '/tmp/Rtmpd7zQav/RWordPress.zip' cannot be opened
In addition: Warning message:
In expand(src, exdir = tempdir()) : error 1 in extracting from zip file
Enter a frame number, or 0 to exit
1: install_github("RWordPress", "duncantl")
2: install_url(url, paste(repo, ".zip", sep = ""), ...)
3: mapply(install_url_single, url, name, ...)
4: function (url, name = NULL, ...)
{
if (is.null(name)) {
name <- b
5: decompress(bundle)
6: file.path(target, outdir())
7: outdir()
8: basename(as.character(expand(src, list = TRUE)$Name[1]))
9: expand(src, list = TRUE)
I get this error on several packages, but not all. Cloning the repo and running
R CMD INSTALLworks just fine. I've had a colleague who can reproduce this and another who can't -- so I'm not sure where to start debugging. Session info below.system info: