[Rd] Package compilation woes on submission.

Aravind Jayaraman aravindjayaramanagri at gmail.com
Tue Apr 7 13:28:46 CEST 2015


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 last week and was asked to resubmit with
few changes in the description file.

However upon resubmission today, the C code failed to compile in the
reviewer's system throwing several errors.

I rechecked the package with windows 7 and ubuntu as before and there
were no errors. I tried winbuilder with R-release as well as R 3.2.0
beta again without any errors.

The only difference that I could understand was that the compiler used
by me as well as winbuilder is gcc while that in case of the reviewer
is clang.

In such a case, how should I proceed with the submission?

Germplasm Conservation Division
ICAR-National Bureau of Plant Genetic Resources
New Delhi - 110 012

More information about the R-devel mailing list