CRAN.packages (PR#364)

plummer@iarc.fr plummer@iarc.fr
Tue, 7 Dec 1999 10:24:32 +0100 (MET)


I had to make the following modifications to parse.dcf() in order to get
CRAN.packages() to work. 
Original:

    ok <- grep("^[ \t]+$", text)
    if (length(ok) > 0) {
        text <- text[!ok]
    }

Fixed:

    notok <- grep("^[ \t]+", text)
    if (length(notok) > 0) { 
        text <- text[-notok]
    }
    
Martyn

--please do not edit the information below--

Version:
 platform = i686-unknown-linux
 arch = i686
 os = linux
 system = i686, linux
 status = 
 major = 0
 minor = 90.0
 year = 1999
 month = November
 day = 22
 language = R

Search Path:
 .GlobalEnv, 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._