[R-pkg-devel] clang11 CRAN check and use of Eigen

Steven Scott @teve@the@b@ye@|@n @end|ng |rom gm@||@com
Wed May 13 04:53:09 CEST 2020

The errors are all around std::ostream.  My guess is that Eigen is missing
an #include.  The missing include was probably included transitively in
earlier versions of clang, but clang11 cleaned up some files that didn't
need that include themselves, and the downstream file got broken as a

On Tue, May 12, 2020 at 6:51 PM Chris Paciorek <paciorek using stat.berkeley.edu>

> As of some point recently (at least since January) our package
> (nimble) is being flagged by CRAN's clang11 check. The check reports
> various errors when compiling one of our C++ files that makes use of
> code from the Eigen C++ package, which we include with our package.
> Here's the report from CRAN:
> https://www.stats.ox.ac.uk/pub/bdr/clang11/nimble.log
> Similar errors are occurring for a few other packages on CRAN (some
> that directly include Eigen and others that do so via RcppEigen).
> 1) Does anyone happen to know why this problem with Eigen is occurring
> with clang11?
> 2) Given clang11 is not yet released, perhaps CRAN is simply flagging
> this for the future. I'm hoping we can still release our next version
> without addressing this, and I see that some of the other packages
> this affects have released recently (e.g., prophet) seemingly without
> addressing the issue. Does anyone know CRAN's policy in this regard?
> thanks,
> -Chris
> Adjunct Professor, Statistical Computing Consultant
> Department of Statistics
> UC Berkeley
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

	[[alternative HTML version deleted]]

More information about the R-package-devel mailing list