Re: [Rcpp-devel] Package does not compile on MAC when running R-CMD-check github action

2021-11-07 Thread Simon Urbanek
Simon, this is not a build issue, it breaks on all platforms in clang (tested on macOS and Debian+clang-11). There are tons of warnings in the C++ code (way over 1000 lines!) which lead to an error at link time (most of them are type mismatches leading to overrides of virtual methods). The

Re: [Rcpp-devel] Package does not compile on MAC when running R-CMD-check github action

2021-11-07 Thread Dirk Eddelbuettel
Simon, Your Makevars [1] is very standard so I would suspect it may be the actions setup for macOS. Rcpp is still used by a large number of packages all of which appear to build just fine on macOS (as eg evidenced by the CRAN checks) if and when everything is setup correctly. Dirk [1]

[Rcpp-devel] Package does not compile on MAC when running R-CMD-check github action

2021-11-07 Thread Simon Zehnder
Hi everyone, I have a problem with the compilation of a package on MacOS when running the R-CDM-check github action. On all other platforms the package compiles, but on MacOS. I get a problem with the shared library on MacOS: OE> Error: package or namespace load failed for ‘finmix’ in