Preparing for CRAN: '-fopenmp' clang error?
问题 I am preparing a package (which makes use of Rcpp and RcppArmadillo) for submission to CRAN. I am using Travis CI and I have included the following to test my package more thoroughly: os: - linux - osx compiler: - clang - gcc This, however, yields the (familiar, it seems) error when using clang on OS X * installing *source* package ‘my_pkg’ ... ** libs clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"/Users/travis/R/Library/Rcpp/include" -I"/Users/travis/R/Library