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 dyn.load(file, DLLpath = DLLpath, ...): OE> unable to load shared object '/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/RtmpYiig6P/pkg-libc181f84f0aa/finmix/libs/finmix.so': OE> dlopen(/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/RtmpYiig6P/pkg-libc181f84f0aa/finmix/libs/finmix.so, 6): Symbol not found: __ZTT13ParStudentInd OE> Referenced from: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/RtmpYiig6P/pkg-libc181f84f0aa/finmix/libs/finmix.so OE> Expected in: flat namespace OE> in /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/RtmpYiig6P/pkg-libc181f84f0aa/finmix/libs/finmix.so OE> Error: loading failed OE> Execution halted OE> ERROR: loading failed OE> * removing ‘/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/RtmpYiig6P/pkg-libc181f84f0aa/finmix’ Here is the link to the package on github (the documentation branch): https://github.com/simonsays1980/finmix/tree/documentation I suspect that the reason might be somewhere in the Makevars. Has anyone encountered a similar error when running the R-CMD-check github action on his/her package? What might be the reason for this behavior? I am thankful for any hint. Best, Simon
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel