[Rd] Checking package on Windows (and seemingly irreproducible errors in CRAN checks)

hadley wickham h.wickham at gmail.com
Wed Jul 29 00:03:14 CEST 2009


On Tue, Jul 28, 2009 at 2:14 PM, Mathieu Ribatet<mathieu.ribatet at epfl.ch> wrote:
> Dear Carlos,
>
> >From your check results:
>
>        cbc.data <- cbc.read.table( system.file("data",
>        "cbc.test.data.txt", package = "colbycol"), sep = "\t" )
>                Warning in file(file, "r") :
>                cannot open file '0001': No such file or directory
>
> I think you're trying to read the file "cbc.test.data.txt" located in
> the folder "data" of your package skeleton. Is that right? If so, maybe
> using
>
>        paste(system.file(package = "colbycol"),
>        "data/cbc.test.data.txt", sep="/")
>
> will solve your issue - although I didn't try.

That's a step in the wrong direction - you're using a whole lot of
platform specific constructs.

Hadley


-- 
http://had.co.nz/



More information about the R-devel mailing list