I created an R package using RcppArmadillo from my Mac, and then built and installed it by doing the following:
Rcpp::compileAttributes() devtools::build() devtoo