[R-pkg-devel] Help with Windows build failure

Alexandre Sieira alexandre.sieira at gmail.com
Sun Apr 2 23:21:10 CEST 2017

Hi, everyone.

I have done some work this weekend to allow the SnakeCharmR package (
https://github.com/asieira/SnakeCharmR) to be compiled under Windows. For
reference, this is an Rcpp-based packages that links to the system's

I have been able to test it on my box using Windows 10 and several Python

* Rtools mingw_64/opt Python 2.7.9;
* python.org 2.7.13 64-bit;
* python.org 3.6.1 64-bit;
* python.org 2.7.x 32-bit on Appveyor (

Still, when I submit my source package to win-builder I get an error:

https://win-builder.r-project.org/9aqdlW0D6e3m/00install.out shows some
warnings on header files that are outside of my control, but ends with a
successful compilation. However, it compiles only the 64-bit version of the
DLL and gives me this warning:

Warning: this package has a non-empty 'configure.win' file,
so building only the main architecture

Finally, when we look at
https://win-builder.r-project.org/9aqdlW0D6e3m/00check.log we see an error
due to the fact that the package can’t be tested on i386:

** checking whether the package can be loaded ... ERROR
Loading this package had a fatal error status code 1
Loading log:
Error: package 'SnakeCharmR' is not installed for 'arch = i386'
Execution halted
Status: 1 ERROR, 1 NOTE

I apologize if this is a beginner’s problem, but this is my first R package
ever and I’m not really used to working with R on Windows. Would appreciate
any guidance and pointers on how to address this and get the package to
pass the necessary CRAN automated tests.

Thanks in advance for your help.

Alexandre Sieira
CISA, CISSP, ISO 27001 Lead Auditor

"The truth is rarely pure and never simple."
Oscar Wilde, The Importance of Being Earnest, 1895, Act I

	[[alternative HTML version deleted]]

More information about the R-package-devel mailing list