[R-pkg-devel] CRAN submission - Specified C++11

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Mon Feb 27 10:37:51 CET 2023


On 27/02/2023 4:25 a.m., Riccardo Di Francesco wrote:
> Dear R-developers,
> 
> I apologize if this issue has been already resolved, I could not find any
> solution in your archives.
> 
> I recently submitted a package to CRAN. In the "src/Makevars" file I
> put CXX_STD
> = CXX11 to specify C++11 code. This causes my package to fail the automatic
> checks, which raise the following note:
> 
> *"checking C++ specification ... NOTE*
> * Specified C++11: please drop specification unless essential"*
> 
> Specifying C++11 is necessary to make my package work. How can I solve
> this?

You could change the code so it will work in newer standards, but if 
that is not feasible, you need to write to CRAN and explain why you need 
this older standard.

Duncan Murdoch



More information about the R-package-devel mailing list