Carlos J. Gil Bellosta
2009-Jul-28 20:31 UTC
[Rd] Checking package on Windows (and seemingly irreproducible errors in CRAN checks)
Hello, I submitted a small package, colbycol, to CRAN. I developed it on Linux and tested it on my Linux box and another Windows machine. Besides, other people kindly tested it in their systems. The package seems to "compile" correctly in r-forge for Windows. In fact, you can find the binary package at http://r-forge.r-project.org/R/?group_id=426. However, in CRAN, the Windows package cannot be built according to http://cran.r-project.org/web/checks/check_results_colbycol.html I cannot reproduce the error. I can guess very little more about what could have gone wrong. The error seems to happen at a time when R tries to read a temporary file (in a temporary folder) that has just been created in a call to a non-R piece of code that does not catch its IO exceptions, if any. Any ideas? Suggestions? Best regards, Carlos J. Gil Bellosta http://www.datanalytics.com
Gabor Grothendieck
2009-Jul-28 20:53 UTC
[Rd] Checking package on Windows (and seemingly irreproducible errors in CRAN checks)
That's a check error. Did you try running R CMD CHECK on it? Since it appears to happen in an example you could put \dontrun{ ... } around the example although it would be better to get it to the state that it passes R CMD CHECK without having to do that. On Tue, Jul 28, 2009 at 4:31 PM, Carlos J. Gil Bellosta<cgb at datanalytics.com> wrote:> Hello, > > I submitted a small package, colbycol, to CRAN. I developed it on Linux > and tested it on my Linux box and another Windows machine. Besides, > other people kindly tested it in their systems. > > The package seems to "compile" correctly in r-forge for Windows. In > fact, you can find the binary package at > > http://r-forge.r-project.org/R/?group_id=426. > > However, in CRAN, the Windows package cannot be built according to > > http://cran.r-project.org/web/checks/check_results_colbycol.html > > I cannot reproduce the error. I can guess very little more about what > could have gone wrong. The error seems to happen at a time when R tries > to read a temporary file (in a temporary folder) that has just been > created in a call to a non-R piece of code that does not catch its IO > exceptions, if any. > > Any ideas? Suggestions? > > Best regards, > > Carlos J. Gil Bellosta > http://www.datanalytics.com > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >
Mathieu Ribatet
2009-Jul-28 21:14 UTC
[Rd] Checking package on Windows (and seemingly irreproducible errors in CRAN checks)
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. Best, Mathieu Le mardi 28 juillet 2009 ? 22:31 +0200, Carlos J. Gil Bellosta a ?crit :> Hello, > > I submitted a small package, colbycol, to CRAN. I developed it on Linux > and tested it on my Linux box and another Windows machine. Besides, > other people kindly tested it in their systems. > > The package seems to "compile" correctly in r-forge for Windows. In > fact, you can find the binary package at > > http://r-forge.r-project.org/R/?group_id=426. > > However, in CRAN, the Windows package cannot be built according to > > http://cran.r-project.org/web/checks/check_results_colbycol.html > > I cannot reproduce the error. I can guess very little more about what > could have gone wrong. The error seems to happen at a time when R tries > to read a temporary file (in a temporary folder) that has just been > created in a call to a non-R piece of code that does not catch its IO > exceptions, if any. > > Any ideas? Suggestions? > > Best regards, > > Carlos J. Gil Bellosta > http://www.datanalytics.com > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel-- Institute of Mathematics Ecole Polytechnique F?d?rale de Lausanne STAT-IMA-FSB-EPFL, Station 8 CH-1015 Lausanne Switzerland http://stat.epfl.ch/ Tel: + 41 (0)21 693 7907