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

Ramon Diaz-Uriarte rd|@z02 @end|ng |rom gm@||@com
Mon Feb 27 10:50:02 CET 2023


Dear Riccardo,

See, for example, here:  https://github.com/mlpack/mlpack/issues/3407


As explained there (https://github.com/mlpack/mlpack/issues/3407#issuecomment-1426249703) "R 4.1.0, the base of the current r-oldrel (aka "previous release") already defaulted to C++14."


So, unless you really need C++11 and cannot use newer standards, you can probably remove

CXX_STD = CXX11


Best,

R.


On Mon, 27-February-2023, at 10:25:55, Riccardo Di Francesco <difrancesco.riccardo96 using gmail.com> 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?
>
> Best


-- 
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-31
Facultad de Medicina 
Universidad Autónoma de Madrid 
Arzobispo Morcillo, 4
28029 Madrid
Spain

Phone: +34-91-497-2412

Email: rdiaz02 using gmail.com
       r.diaz using uam.es
       ramon.diaz using iib.uam.es

https://ligarto.org/rdiaz




More information about the R-package-devel mailing list