[Rd] update.packages and incorrect "Version" (PR#1022)

Torsten.Hothorn@rzmail.uni-erlangen.de Torsten.Hothorn@rzmail.uni-erlangen.de
Thu, 12 Jul 2001 14:53:43 +0200 (MET DST)


`update.packages' fails when a package with incorrect Version field is
found in R_LIBS:

> update.packages()
trying URL `http://cran.r-project.org/src/contrib/PACKAGES'
Content type `text/plain' length 49161 bytes
opened URL
.......... .......... .......... .......... ........
downloaded 48Kb

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 

The error comes from `newerVersion'. For me, the DESCRIPTION file of gee
contains:

Version: 4.13-3 (Gee version 98/1/27)

which after 

b <- as.integer(strsplit(b, "[\\.-]")[[1]]) 

in `newerVersion' looks like "4 13 NA" and thows the error above. 

Torsten


--please do not edit the information below--

Version:
 platform = i686-pc-linux-gnu
 arch = i686
 os = linux-gnu
 system = i686, linux-gnu
 status = 
 major = 1
 minor = 3.0
 year = 2001
 month = 06
 day = 22
 language = R

Search Path:
 .GlobalEnv, package:ctest, Autoloads, package:base


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._