add xts and rcpp