I am getting error when using Attributes in Rcpp and have RcppArmadillo code
- by howard123
I am trying to create a package with RcppArmadillo. The code uses the new attributes methodology of Rcpp. The sourceCpp works fine and compiles the code, but when I build a package I get errors when I use RcppArmadillo code. Without the RcppArmadillo code and using regulare C++, I do not get these errors.
The C++ code (it is essentially the…