CRAN.packages (PR#364)

About this list Date view Thread view Subject view Author view Other groups

Subject: CRAN.packages (PR#364)
plummer@iarc.fr
Date: Tue 07 Dec 1999 - 19:24:32 EST


Message-Id: <199912070924.KAA03181@pubhealth.ku.dk>

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


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:11 EST