[R] updata.packages()

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Fri May 10 18:57:31 CEST 2002

On Fri, 10 May 2002 apjaworski at mmm.com wrote:

> Something strange is happening with update.packages on my machine (Win2000,
> R-1.5.0 installed from binaries).  Some of the packages (see below) keep
> getting updated every time.  When I issue update.packages() I get this
> every time for the last few days (I think since I installed 1.5 and the
> packages but I am not sure).  This happens with CRAN shown below and also
> with CRAN set to cran.r-project.org.
> I checked only one of them - polynom.  It looks like the CRAN.packages
> function returns the available version as 1.1-10 but the DESCRIPTION file
> in the downloaded binary polynom says 1.1-8.  I am almost sure that this is

But that's not the version number in the DESCRIPTION file of polynom.zip
on cran.r-project.org nor that on cran.us.r-project.org, so you have a
problem with your downloading, possibly a cache local to you (although the
standard code asks for an uncached copy, many caches/proxies ignore this).

> a mismatch between the precompiled versions update.packages uses on Windows
> machines and the sources.  For example, the source tarball for polynom
> seems to be 1.1-10.

Well, you are 100% surely wrong!  The version number is in the PACKAGES
file you downloaded, and that is auto-generated by reading the zip files.
Why speculate when you can read the code?


Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list