stan-dev / stan-dev/rstan

Compilation failed in combination with macOS Catalina problems

Open
#750 1 comment 0 reactions 0 assignees View on GitHub

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?

E5DB0BBA-86AF-4BFB-84AE-A9DCB7D8A787_1_105_c

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.