I am trying to compile a small package that I\'ve made. This package uses Rcpp and RcppArmadillo. Everything was working well until I updated my mac to Sierra (version 10.12
Try deleting RcppExports.cpp and RcppExports.o and then in build options go-to "more" -> "clean and rebuild"
This usually does the trick when I have similar problems