[Rd] problem with update.packages() in R-Devel (3.2.0) on Windows

John Fox jfox at mcmaster.ca
Mon Jan 26 18:54:34 CET 2015

Dear all,

I've noticed the following problem for the past several days:

---------------- snip ----------------
> update.packages(ask=FALSE)

. . .

trying URL 'http://cran.utstat.utoronto.ca/src/contrib/zoo_1.7-11.zip'
Error in download.file(url, destfile, method, mode = "wb", ...) : 
  cannot open URL
In addition: Warning message:
In download.file(url, destfile, method, mode = "wb", ...) :
  cannot open: HTTP status was '404 Not Found'
Warning in download.packages(pkgs, destdir = tmpd, available = available,  :
  download of package 'zoo' failed

---------------- snip ----------------

Apparently, the subdirectory for the version number (/3.2) is missing from
the URL. OTOH, install.packages() works fine:

---------------- snip ----------------

> install.packages("zoo")
trying URL
Content type 'application/zip' length 878614 bytes (858 KB)
opened URL
downloaded 858 KB

package 'zoo' successfully unpacked and MD5 sums checked

The downloaded binary packages are in
        C:\Users\John Fox\AppData\Local\Temp\RtmpuKqvB0\downloaded_packages

---------------- snip ----------------

Session info:

---------------- snip ----------------

> sessionInfo()
R Under development (unstable) (2015-01-25 r67615)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

[1] LC_COLLATE=English_Canada.1252  LC_CTYPE=English_Canada.1252   
[3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C                   
[5] LC_TIME=English_Canada.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] tools_3.2.0

---------------- snip ----------------


John Fox, Professor
McMaster University
Hamilton, Ontario, Canada

This email has been checked for viruses by Avast antivirus software.

More information about the R-devel mailing list