Skip to content

Updating RcppArmadillo initialization#1

Merged
boennecd merged 1 commit intoboennecd:masterfrom
eddelbuettel:master
Sep 9, 2022
Merged

Updating RcppArmadillo initialization#1
boennecd merged 1 commit intoboennecd:masterfrom
eddelbuettel:master

Conversation

@eddelbuettel
Copy link
Copy Markdown
Contributor

These changes update RcppArmadillo from the now deprecated << initialization to brace initialization allowed since C++11 and long been the minimal standard with R too. It would be great if you could merge this, and release and updated package "in the next little while" -- see the two prior emails I sent, and the transition log at RcppCore/RcppArmadillo#391

(There is another #pragma deprecated warning about error printing you probably need to take care of too. Let me know if you want to look at that too.)

These changes update RcppArmadillo from the now deprecated `<<`
initialization to brace initialization allowed since C++11 and long
been the minimal standard with R too.  It would be great if you could
merge this, and release and updated package "in the next little while"
-- see the two prior emails I sent, and the transition log at
RcppCore/RcppArmadillo#391
@boennecd
Copy link
Copy Markdown
Owner

boennecd commented Sep 9, 2022

Excellent, thank you! I have also fixed pedmod (see boennecd/pedmod@f8740ec).

(There is another #pragma deprecated warning about error printing you probably need to take care of too. Let me know if you want to look at that too.)

I think this will do https://github.com/boennecd/pedmod/blob/f8740eccec94585df88b9f5fc2027117bcea5ce4/src/arma-wrap.h#L15-L18

I will have to change this in some other packages as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants