From cgb at datanalytics.com  Tue Jul 28 23:22:22 2009
From: cgb at datanalytics.com (Carlos J. Gil Bellosta)
Date: Tue, 28 Jul 2009 23:22:22 +0200
Subject: [Rd] Checking package on Windows (and seemingly irreproducible
 errors in CRAN checks)
In-Reply-To: <971536df0907281353v66425bf5y43447ba1796d72da@mail.gmail.com>
References: <1248813071.4657.18.camel@kropotkin>
	<971536df0907281353v66425bf5y43447ba1796d72da@mail.gmail.com>
Message-ID: <1248816142.4657.39.camel@kropotkin>

Dear Gabor,

Yes, I did run the R CMD CHECK on Linux. It only gave me the same two
warnings as in the checks for non-Windows architectures.

The examples run fine on Linux and also on Windows when I installed my
package from the binaries provided in r-forge. I never run a R CMD check
on Windows, though... should it be the way to proceed?

Although I think I have a clue as I am under the impression (that I
should check) after some issues with an application today that
"malformed" paths such as /home/me//myfile.txt are valid in UNIX (I know
for sure) but not on Windows. Maybe I am using such a path somewhere...

Best regards,

Carlos J. Gil Bellosta
http://www.datanalytics.com



On Tue, 2009-07-28 at 16:53 -0400, Gabor Grothendieck wrote:
> 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
> >



[Rd] Checking package on Windows (and seemingly irreproducible errors in CRAN checks)
Carlos J. Gil Bellosta