The PR contains two short commits which in sum permit the compilation at the macOS machine of rhub. It addressed the puzzle presented in this StackOverflow question.
We change two things:
do not include omp.h unconditionally as macOS machine may, or may not, have OpenMP
do not pass an Rcpp::StringVector object to the the Boost tokenizer but take an intermediate step via a std::string
One resulting pass is see here (at least they delete it after a few days). Ignore that I changed the version to 2.0.1.1, that is just a personal habit of making altered tarballs show a different version.
The PR contains two short commits which in sum permit the compilation at the macOS machine of rhub. It addressed the puzzle presented in this StackOverflow question.
We change two things:
omp.h
unconditionally as macOS machine may, or may not, have OpenMPtokenizer
but take an intermediate step via astd::string
One resulting pass is see here (at least they delete it after a few days). Ignore that I changed the version to 2.0.1.1, that is just a personal habit of making altered tarballs show a different version.