[Rd] Package compilation woes on submission.

2015-04-07 Thread Aravind Jayaraman
Hello, I am trying to submit a new package to CRAN. I had checked the packages with R-devel and R-release in windows 7 local and ubuntu 12.04 local. The package has a C file in src folder which successfully compiled in all the cases (there were few trivial warnings). I had submitted the package

Re: [Rd] Package compilation woes on submission.

2015-04-07 Thread Henrik Bengtsson
I've been there too. The clang compiler does useful validation and troubleshooting of your code in addition to what you get with gcc. I recommend installing/trying it as a complement to your default setup. It has a -c option for Only run preprocess, compile, and assemble steps allowing you do