Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-25 Thread cstrato
Dear Herve, I have just tested the modification of Makefile.win: clean: rm -f $(MYOBJ) *.a *.d *.rc xpsLinkDef.h and it was sufficient to eliminate the warning message. Thus R CMD check seems indeed to run the clean step. I have just uploaded the new version to BioC2.7. Best regards C

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-15 Thread Hervé Pagès
On 09/15/2010 01:51 PM, Dirk Eddelbuettel wrote: On 15 September 2010 at 22:39, cstrato wrote: | Dear Duncan, dear Herve, | | Thank you both for your help and suggestions. I think that you are both | right: | | In principle I do not want to put these files in the source tarball (and | I did not

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-15 Thread cstrato
Dear Dirk, Thank you for this suggestion, however since I am not very good in creating Makefiles I would appreciate if you could explain how to filter at the compile stage. These are the lines which I think are essential: xps.dll: $(MYOBJ) $(LINK) /dll /def:xps.def /out:xps.dll fp10.obj $(

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-15 Thread Dirk Eddelbuettel
On 15 September 2010 at 22:39, cstrato wrote: | Dear Duncan, dear Herve, | | Thank you both for your help and suggestions. I think that you are both | right: | | In principle I do not want to put these files in the source tarball (and | I did not in the past), however because of the way R CMD

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-15 Thread cstrato
Dear Duncan, dear Herve, Thank you both for your help and suggestions. I think that you are both right: In principle I do not want to put these files in the source tarball (and I did not in the past), however because of the way R CMD check works this seems to be the only possibility to get r

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-14 Thread Hervé Pagès
On 09/14/2010 03:30 PM, Duncan Murdoch wrote: On 14/09/2010 6:08 PM, Hervé Pagès wrote: On 09/14/2010 02:58 PM, cstrato wrote: Dear Herve, Thank you for your reply, however maybe I was not quite clear. The files xpsDict.h and xpsDict.cxx are automatically created by the ROOT framework during

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-14 Thread Duncan Murdoch
On 14/09/2010 6:08 PM, Hervé Pagès wrote: On 09/14/2010 02:58 PM, cstrato wrote: Dear Herve, Thank you for your reply, however maybe I was not quite clear. The files xpsDict.h and xpsDict.cxx are automatically created by the ROOT framework during compilation on every architecture. on every a

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-14 Thread Hervé Pagès
On 09/14/2010 02:58 PM, cstrato wrote: Dear Herve, Thank you for your reply, however maybe I was not quite clear. The files xpsDict.h and xpsDict.cxx are automatically created by the ROOT framework during compilation on every architecture. on every architecture... ok But if they are created d

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-14 Thread cstrato
Dear Herve, Thank you for your reply, however maybe I was not quite clear. The files xpsDict.h and xpsDict.cxx are automatically created by the ROOT framework during compilation on every architecture. This means they are created on Linux and Mac with LF line endings, but on Windows with CRLF

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-14 Thread Hervé Pagès
Hi Christian, On 09/14/2010 02:12 PM, cstrato wrote: Dear Simon, Thank you for this clarification/suggestion, however I am confused. What do you mean with "If the file is created automatically then it has no business being in the package."? He means it shouldn't be in the source tarball. We r

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-14 Thread cstrato
Dear Simon, Thank you for this clarification/suggestion, however I am confused. What do you mean with "If the file is created automatically then it has no business being in the package."? If you download the source code of my package from: http://bioconductor.org/packages/2.7/bioc/html/xps.ht

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-14 Thread Simon Urbanek
On Sep 14, 2010, at 2:27 PM, cstrato wrote: > Dear Bill, > > It would be great if this warning message could at least be suppressed on > Windows. > I think you're missing the point - you should be fixing that file instead - it doesn't matter whether you're on Windows or not. If the file is c

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-14 Thread cstrato
Dear Dirk, Thank you for this suggestion, however I have no idea where this code could be used. As I have said, this file is created automatically during the compilation by the compiler, and I have no idea at which point "R CMD check" does check for CRLF line endings, and how to interfere wi

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-14 Thread cstrato
Dear Bill, It would be great if this warning message could at least be suppressed on Windows. Best regards Christian On 9/14/10 2:06 AM, William Dunlap wrote: -Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of cstrato Sent: M

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-13 Thread William Dunlap
> -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 ru

Re: [Rd] Problem with WARNING...headers with CRLF line endings

2010-09-13 Thread Dirk Eddelbuettel
On 13 September 2010 at 23:07, cstrato wrote: | 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 end