[R-pkg-devel] warnings by 3rd party headers

Iñaki Ucar |uc@r @end|ng |rom |edor@project@org
Thu Jan 16 17:06:30 CET 2020


On Thu, 16 Jan 2020 at 16:58, Guido Kraemer <gkraemer using bgc-jena.mpg.de> wrote:
>
> I need to distribute some 3rd party headers with my package. The headers
> make R CMD check produce warnings:
>
>     File which contains pragma(s) suppressing important diagnostics:
>     ...
>     Files which contain pragma(s) suppressing diagnostics:
>     ...
>
> There are some additional NOTEs on the use of `std::cout` which is being
> used in some of the headers.
>
> If I want to submit the package to CRAN in the future, do I have to edit
> the headers?

I think so. That's what, e.g., Dirk does for BH:
https://github.com/eddelbuettel/bh/commit/313da3cb04227d96daafa2d73668b30fa3fd10fc

Iñaki



More information about the R-package-devel mailing list