[R-pkg-devel] CRAN check FAIL due to pragmas in headers and code

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Dec 14 10:00:12 CET 2017

On 14.12.2017 00:58, Iñaki Úcar wrote:
> Hi all,
> Three days ago, Patrick Perry posted the following on R-devel:
> 2017-12-11 16:32 GMT+01:00 Patrick Perry <pperry at stern.nyu.edu>:
>> A recent change to r-devel causes an R CMD check warning when a C file
>> includes a "#pragma GCC diagnostic ignored" pragma:
>> https://github.com/wch/r-source/commit/b76c8fd355a0f5b23d42aaf44a879cac0fc31fa4
>> . This causes the CRAN checks for the "corpus" package to emit a warning:
>> https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/corpus-00check.html
> I didn't pay much attention, but today I received a couple of emails
> warning about my package failing on r-devel-linux-x86_64-debian (gcc
> and clang) with the following message:
> Check: pragmas in C/C++ headers and code
> Result: FAIL

A temporary glitch in R-devel that has been fixed yesterday already.

Uwe Ligges

> My package has no pragmas, but Rcpp, on which it depends, does. So
> basically Rcpp and all packages depending on Rcpp are failing on that
> flavors. Is this a new requirement for new submissions? Or should I
> ignore these FAILs?
> Regards,
> Iñaki
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

More information about the R-package-devel mailing list