[R-pkg-devel] Configure dot win file preventing compilation for i386 on windows

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Wed Feb 13 18:53:31 CET 2019


On 13/02/2019 12:45 p.m., Travers Ching wrote:
> I have a package in which I thought would be helpful to have a
> configure.win file.  However, when compiling (locally as well as
> through win-builder) I get the following message:
> 
> "Warning: this package has a non-empty 'configure.win' file, so
> building only the main architecture"
> 
> And then win builder CRAN check fails with an error.  When I take out
> the configure.win file everything works (the configure.win file just
> had an echo statement in it for testing).
> 
> I don't understand why i386 compilation does not proceed with the
> configure file?  What is the issue or mistake I'm making?

It sounds as though you (and WinBuilder) are skipping the 
"--force-biarch" command line option in "R CMD install".

I suspect the reason it isn't the default is that it's hard to get right 
for both architectures.  I don't know how you would ask WinBuilder to 
use it for you.

Duncan Murdoch



More information about the R-package-devel mailing list