[Rcpp-devel] (Rcpp)Armadillo deprecation warnings and CRAN

Dirk Eddelbuettel edd at debian.org
Wed Nov 4 16:32:30 CET 2020


If anybody needs help with the 'deprecation' warnings from CRAN let me. I
assisted one package with a pull request that updated matrix initialization /
assignment to the more common C++11 form, and can probably help others too if
you let me know where your repo is.

For reference, the Armadillo docs now show this:

element initialisation

- Set elements in Mat, Col, Row via initialiser lists

- Examples:

  vec v = { 1, 2, 3 };

  mat A = { {1, 3, 5},
            {2, 4, 6} };


Hth,  Dirk

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org


More information about the Rcpp-devel mailing list