Skip to content
Back to formatted view

Raw Message

Message-ID: <CALEXWq1g3YQS03ETuj4L5XOufa7kVSq9UMyrFyQ2+QJ4mLH8+g@mail.gmail.com>
Date: 2017-12-13T23:58:56Z
From: IƱaki Ucar
Subject: [R-pkg-devel] CRAN check FAIL due to pragmas in headers and code

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

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