test against const correct Rcpp version
adapt to const correct Rcpp
Merge pull request #2 from romainfrancois/master

adapt to const correct Rcpp -- thanks!