[R] update.packages

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Aug 31 07:43:36 CEST 2001


On Thu, 30 Aug 2001, Denis White wrote:

> I seem to have something wrong in my installation when trying to
> update packages.  Thanks for any assistance...
>
> > update.packages()
> trying URL `http://cran.r-project.org/src/contrib/PACKAGES'
> Content type `text/plain' length 53385 bytes
> opened URL
> .......... .......... .......... .......... ..........
> ..
> downloaded 52Kb
>
> Error in if (a[k] > b[k]) return(TRUE) else if (a[k] < b[k]) return(FALSE) :
>         missing value where logical needed
> In addition: Warning message:
> NAs introduced by coercion

That error seems to be coming from newerVersion in old.packages, and means
that an installed package has an incorrect Version: field.  Try

installed.packages()[, c("Package", "Version")]

to see what it might be.   (Actually, it could mean a CRAN package
has an incorrect version, but then lots of us would see it.)

You might want to use traceback() to confirm the source.

-- 
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