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.riccard...@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: rdia...@gmail.com r.d...@uam.es ramon.d...@iib.uam.es https://ligarto.org/rdiaz ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel