> -----Original Message----- > From: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of cstrato > Sent: Monday, September 13, 2010 2:08 PM > To: r-devel@r-project.org > Subject: [Rd] Problem with WARNING...headers with CRLF line endings > > Dear all, > > When running R CMD check on Windows XP to test my package I get the > following warning message: > > "* checking line endings in C/C++/Fortran sources/headers ... WARNING > Found the following sources/headers with CR or CRLF line endings: > src/xpsDict.h" > > The problem is that this file is created by the compiler > AUTOMATICALLY > during the compilation process, and since the file is created > by VC++ on > WinXP, it will always have CRLF line endings. > > Thus my question is: > - Is it really necessary to issues this warning message? > - If yes, could it be suppressed on Windows XP, since there it should > obviously be no problem.
Older versions of Sun C compilers would refuse to compile code with Windows-style line endings. I don't know if that is still the case. One reason to run check is to see if there are any platform-dependencies in code on CRAN so the warning should not be suppressed. (The S+ package system tries to avoid the problem by changing line endings on text files when it compiles the package. It is not trivial to reliably figure out which files are meant to be text files.) Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > > One more issue: > While I have always received this warning on my WinXP > installation, for > some lucky reason the warning did until now not appear on the > Bioconductor Windows server, see BioC 2.6 with R-2.11.1: > http://bioconductor.org/checkResults/2.6/bioc-LATEST/xps/liver pool-checksrc.html > > However, for some reason on BioC 2.7 running R-2.12.0 this > warning does > appear, see: > http://bioconductor.org/checkResults/2.7/bioc-LATEST/xps/liver pool-checksrc.html > For this reason I would appreciate if there would be a > possibility to > suppress this warning message. > > Thank you in advance. > Best regards > Christian > _._._._._._._._._._._._._._._._._._ > C.h.r.i.s.t.i.a.n S.t.r.a.t.o.w.a > V.i.e.n.n.a A.u.s.t.r.i.a > e.m.a.i.l: cstrato at aon.at > _._._._._._._._._._._._._._._._._._ > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel