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

Gábor Csárdi csardi.gabor at gmail.com
Thu Dec 14 03:13:15 CET 2017


These are not check errors, but indeed a bug in the check tool:
https://github.com/wch/r-source/commit/c063350799e2209afe1c5b23915ee7b9a1606652#diff-4882a8c8e173bda109ed98da485e1428R8640

It has been fixed, so next R-devel build should be fine.

Gabor

On Thu, Dec 14, 2017 at 2:04 AM, brodie gaslam via R-package-devel
<r-package-devel at r-project.org> wrote:
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
> ---------- Forwarded message ----------
> From: brodie gaslam <brodie.gaslam at yahoo.com>
> To: List R-package-devel <r-package-devel at r-project.org>
> Cc:
> Bcc:
> Date: Thu, 14 Dec 2017 01:54:04 +0000 (UTC)
> Subject: RE: CRAN check FAIL due to pragmas in headers and code
> I too am seeing the same failure in my package.  It does not contain any #pragma directives, and it doesn't have any dependencies to other compiled packages.
> Poking around through the CRAN checks I've found other packages with C compiled code displaying the same error on the clang and gcc 64 bit debian checks:
> * diffobj: (my package) https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/diffobj-00check.html* xts: https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/xts-00check.html* backports: https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/backports-00check.html
> I'm pretty sure (but not certain) that my package did not throw these errors as of quite recently (I uploaded to CRAN over the weekend).
>
> This leads me to think that it is (maybe) possible that this is an issue with the latest version of the check tool?
> Best,
> Brodie.
>
>         [[alternative HTML version deleted]]
>
>



More information about the R-package-devel mailing list