Compare Devel vs CRAN installation behavior for Stan packages
developThe provided logs demonstrate a discrepancy between Devel and CRAN installation paths for packages like idem and visit on macOS:
- Devel Installation: Often fails during the
clang++compilation step due to missing members in the global namespace (e.g.,lgamma_r) when usingStanHeaders/new. - CRAN Installation: Successfully completes the installation process, including byte-compilation, help index installation, and vignette installation, using
StanHeaders/old.
If you encounter compilation errors in a development environment, switching to the CRAN version of the headers may resolve the issue.