My long existing package gastempt was recently archived on CRAN because of build errors. On my own Windows 10 installation, all checks work fine. All packages are updated to current, rstan is 2.21.2.
On github actions which worked before, I get this error now:
undefined reference to
_rcpp_module_boot_stan_fit4linexp_gastro_1b_mod’`
(and 3 more for similar files).
I have completely regenerated the build environment with rstantools
. RcppExport.cpp has the following:
static const R_CallMethodDef CallEntries[] = {
{"_rcpp_module_boot_stan_fit4linexp_gastro_1b_mod", (DL_FUNC) &_rcpp_module_boot_stan_fit4linexp_gastro_1b_mod, 0},
As mentioned, everything build/checks fine on my Windows machine and passes tests on submission to CRAN, but not on github actions. So I assume some settings are different:
Any ideas where to start digging?