test against const correct Rcpp version
adapt to const correct Rcpp