Re: [Rd] Building Packages on Windows using .Rbuildignore (PR#7379)

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Sat 20 Nov 2004 - 02:16:49 EST

On Fri, 19 Nov 2004 07:11:24 -0500, Duncan Murdoch <murdoch@stats.uwo.ca> wrote :

>>One I thing that would be quite useful and would even solve
>>Gabor's problem:
>>The introduction of a new command line switch, say "--build-ignore",
>>to the commands 'R CMD check' and 'R CMD install'
>
>Shouldn't that option be "--ignore-build-ignore"? :-)
>
>More seriously: I suspect that an on/off switch for the .Rbuildignore
>file wouldn't be sufficiently flexible: the same package author might
>want different things at different times, e.g. building a binary for
>Windows would include different files than a binary for another
>platform. We could put together some sort of system of conditionals
>within the .Rbuildignore file, but I think it would be better to just
>advise such package writers to maintain one or more .Rbuildignore.in
>files, and manually (or by makefile) copy the appropriate one in place
>first.

A problem with my suggestion: on CRAN, package authors don't build Windows binary packages, Uwe does. This means that the decision needs to be there in the source or it won't affect the build. What we do in other cases (e.g. makefiles) is have a *.win version of the file that only applies to Windows. Should .Rbuildignore be handled similarly?

Duncan Murdoch



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat Nov 20 02:45:49 2004

This archive was generated by hypermail 2.1.8 : Sat 20 Nov 2004 - 03:11:42 EST