Compilation failed in combination with macOS Catalina problems
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.1k
- Forks
- 266
- Avg merge
- 2h 56m
- Merged PRs (30d)
- 1
Description
Summary:
Like others I have the problem that no errors or warnings are shown for my stan models. I already read the solution that rstan should be installed from source and I already installed the macOS R toolchain. Despite that when I run
install.packages('rstan', type = 'source')
I get ERROR: compilation failed for package ‘rstan’
it looks like this, any suggestions?

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported failure with install.packages('rstan', type = 'source') on macOS Catalina, then inspect the compiler output shown in the attached screenshot. Check the rstan source-install requirements and macOS R toolchain setup, with success defined as rstan installing without the compilation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, r
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100