Skip to content
Prev 10827 / 10988 Next

[Rcpp-devel] C++ issue only spotted by CRAN and not locally or via rhub

Thanks Martyn to spot this. I was so concentrated on C++ code that I overlooked the wrapper. 
However, it seems that simply using 
  rep(as.double(0), length.out = ncol(x)) 
should also be ok (followed by your suggested check for conforming arguments).

For the ASAN I will have to further investigate the issue, including moving from Rcpp to RcppArmadillo as suggested by Sokol and Dirk.

Best,

Luca