Convert Rcpp to use Rcpp knitr engine