Skip to content

use_rcpp_armadillo() - Remove unneeded CXX_STD in Makevars (#1889)#2175

Open
rundel wants to merge 1 commit intor-lib:mainfrom
rundel:issue#1889
Open

use_rcpp_armadillo() - Remove unneeded CXX_STD in Makevars (#1889)#2175
rundel wants to merge 1 commit intor-lib:mainfrom
rundel:issue#1889

Conversation

@rundel
Copy link
Contributor

@rundel rundel commented Sep 19, 2025

Default CXX_STD should now be CXX17 for R 4.3 and above and CXX11 for R 4 so should not be necessary to specify a value any more.

This brings things inline with RcppArmadillo's own suggested Makevars, https://github.com/RcppCore/RcppArmadillo/blob/master/inst/skeleton/Makevars

Fix #1889

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.

usethis::use_rcpp_armadillo() Generates CXX_STD=CXX1, Leading to CRAN Note on C++11 Specification

1 participant