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

2023-02-27 Thread Riccardo Di Francesco
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

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

2023-02-27 Thread Duncan Murdoch
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 caus

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

2023-02-27 Thread Riccardo Di Francesco
Thanks for the suggestions. I will try to change the code. Il giorno lun 27 feb 2023 alle ore 10:37 Duncan Murdoch < murdoch.dun...@gmail.com> ha scritto: > 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

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

2023-02-27 Thread Ivan Krylov
В Mon, 27 Feb 2023 10:25:55 +0100 Riccardo Di Francesco пишет: > Specifying C++11 is necessary to make my package work. How can I solve > this? Is it C++11 exactly or C++ ≥ 11? If the former, you're 100% right to specify this (but may have problems in unspecified future when someone decides to s

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

2023-02-27 Thread Ramon Diaz-Uriarte
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 real

[R-pkg-devel] Ignoring a compiler warning?

2023-02-27 Thread Duncan Murdoch
I am in the process of updating rgl to use the glad loader (https://github.com/Dav1dde/glad). This replaces system standard gl.h and glext.h files with new ones that include function pointers to be filled in at run-time, so that rgl can use OpenGL features supported by updated drivers if they

Re: [R-pkg-devel] Ignoring a compiler warning?

2023-02-27 Thread Dirk Eddelbuettel
On 27 February 2023 at 14:32, Duncan Murdoch wrote: | I am in the process of updating rgl to use the glad loader | (https://github.com/Dav1dde/glad). This replaces system standard gl.h | and glext.h files with new ones that include function pointers to be | filled in at run-time, so that rgl