Re: [R-pkg-devel] How to update "SystemRequirements: C++11"?

2023-02-06 Thread Winston Chang
On Mon, Feb 6, 2023 at 6:44 PM Duncan Murdoch wrote: > On 06/02/2023 3:46 p.m., Winston Chang wrote: > > I recently submitted a package to CRAN with "SystemRequirements: C++11". > > This raises the following NOTE on R-devel, and I was asked to fix and > > resubmit: > > > > * checking C++ specific

Re: [R-pkg-devel] How to update "SystemRequirements: C++11"?

2023-02-06 Thread Duncan Murdoch
On 06/02/2023 3:46 p.m., Winston Chang wrote: I recently submitted a package to CRAN with "SystemRequirements: C++11". This raises the following NOTE on R-devel, and I was asked to fix and resubmit: * checking C++ specification ... NOTE Specified C++11: please update to current default of C++

Re: [R-pkg-devel] How to update "SystemRequirements: C++11"?

2023-02-06 Thread Avraham Adler
On Tue, Feb 7, 2023 at 12:10 AM Iñaki Ucar wrote: > > On Tue, 7 Feb 2023 at 00:09, Avraham Adler wrote: > > > > "If a package does have a src/Makevars[.win] file then also setting > > the make variable ‘CXX_STD’ there is recommended," > > That doesn't refer to the SystemRequirements field. > > Iñ

Re: [R-pkg-devel] How to update "SystemRequirements: C++11"?

2023-02-06 Thread Iñaki Ucar
On Tue, 7 Feb 2023 at 00:09, Avraham Adler wrote: > > "If a package does have a src/Makevars[.win] file then also setting > the make variable ‘CXX_STD’ there is recommended," That doesn't refer to the SystemRequirements field. Iñaki > > Avi > > On Mon, Feb 6, 2023 at 10:58 PM Iñaki Ucar wrote:

Re: [R-pkg-devel] How to update "SystemRequirements: C++11"?

2023-02-06 Thread Avraham Adler
"If a package does have a src/Makevars[.win] file then also setting the make variable ‘CXX_STD’ there is recommended," Avi On Mon, Feb 6, 2023 at 10:58 PM Iñaki Ucar wrote: > > On Mon, 6 Feb 2023 at 23:27, Avraham Adler wrote: > > > > On Mon, Feb 6, 2023 at 9:46 PM Duncan Murdoch > > wrote: >

Re: [R-pkg-devel] How to update "SystemRequirements: C++11"?

2023-02-06 Thread Iñaki Ucar
On Mon, 6 Feb 2023 at 23:27, Avraham Adler wrote: > > On Mon, Feb 6, 2023 at 9:46 PM Duncan Murdoch > wrote: > > > > On 06/02/2023 4:01 p.m., Duncan Murdoch wrote: > > > On 06/02/2023 3:46 p.m., Winston Chang wrote: > > >> I recently submitted a package to CRAN with "SystemRequirements: C++11".

Re: [R-pkg-devel] How to update "SystemRequirements: C++11"?

2023-02-06 Thread Avraham Adler
On Mon, Feb 6, 2023 at 9:46 PM Duncan Murdoch wrote: > > On 06/02/2023 4:01 p.m., Duncan Murdoch wrote: > > On 06/02/2023 3:46 p.m., Winston Chang wrote: > >> I recently submitted a package to CRAN with "SystemRequirements: C++11". > >> This raises the following NOTE on R-devel, and I was asked to

Re: [R-pkg-devel] How to update "SystemRequirements: C++11"?

2023-02-06 Thread Ivan Krylov
В Mon, 6 Feb 2023 14:46:16 -0600 Winston Chang пишет: > 1. Remove "SystemRequirements: C++11" entirely. The problem with this > is that on systems with older versions of R (3.6 and below, I > believe), it may try to compile the package with an older C++ > standard, which will fail. > 2. Update it

Re: [R-pkg-devel] How to update "SystemRequirements: C++11"?

2023-02-06 Thread Duncan Murdoch
On 06/02/2023 4:01 p.m., Duncan Murdoch wrote: On 06/02/2023 3:46 p.m., Winston Chang wrote: I recently submitted a package to CRAN with "SystemRequirements: C++11". This raises the following NOTE on R-devel, and I was asked to fix and resubmit: * checking C++ specification ... NOTE Specifi

Re: [R-pkg-devel] How to update "SystemRequirements: C++11"?

2023-02-06 Thread Duncan Murdoch
On 06/02/2023 3:46 p.m., Winston Chang wrote: I recently submitted a package to CRAN with "SystemRequirements: C++11". This raises the following NOTE on R-devel, and I was asked to fix and resubmit: * checking C++ specification ... NOTE Specified C++11: please update to current default of C++

[R-pkg-devel] How to update "SystemRequirements: C++11"?

2023-02-06 Thread Winston Chang
I recently submitted a package to CRAN with "SystemRequirements: C++11". This raises the following NOTE on R-devel, and I was asked to fix and resubmit: * checking C++ specification ... NOTE Specified C++11: please update to current default of C++17 If I understand correctly, I have two options

Re: [R-pkg-devel] splitting an R package into two

2023-02-06 Thread RAFFELSBERGER Wolfgang (IGBMC)
As complement to Duncan's nice answer I also suggest to use the function .Deprecated() for an additional transition time. (see eg https://stackoverflow.com/questions/44622054/mark-a-function-as-deprecated-in-customised-r-package) Baseline, if other people/packages use your package, alert them (v