The fix apparently is in the master branch. I did:
remotes::install_github("RcppCore/Rcpp")
and the warnings went away. Don't forget to restart R, in case the previous
version of Rcpp has already been loaded.
Georgi Boshnakov
From:
and other materials and papers by him.
Georgi Boshnakov
From: Rcpp-devel [mailto:rcpp-devel-boun...@lists.r-forge.r-project.org] On
Behalf Of Jordi Molins
Sent: 22 September 2018 08:03
To: rcpp-devel@lists.r-forge.r-project.org; Jordi Molins
Subject: [Rcpp-devel] Question on performance
Hello,
I may be missing something here but
it doesn't seem right to introduce silent coercion of NULL to vectors, etc.,
especially if it would become imposed on everybody using Rcpp/Armadillo.
Even the "convenience" of this is questionable.
Georgi Boshnakov
-Original Message-