Error messages when running example(stan_model, package = "rstan", run.dontrun = TRUE)
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.1k
- Forks
- 266
- Avg merge
- 2h 56m
- Merged PRs (30d)
- 1
Description
Hi All,
I'm new to rstan. I just installed rstan by:
install.packages("rstan", repos = c("https://mc-stan.org/r-packages/", getOption("repos")))
Once it was installed, I loaded libraries StanHeaders and rstan
library(StanHeaders)
library(rstan)
Then I ran:
example(stan_model, package = "rstan", run.dontrun = TRUE)
which gave me a lot of messages (400 lines) which ended with the following:
Compilation ERROR, function(s)/method(s) not created!
Error in compileCode(f, code, language = language, verbose = verbose) :
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"), : 'make' not foundCalls: <Anonymous> ->
.shlib_internal -> systemExecution halted
So I assumed I did something wrong or missed some installation steps. Any advice would be very much appreciated
Thanks!
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
Start by reproducing example(stan_model, package = "rstan", run.dontrun = TRUE) after loading StanHeaders and rstan, then trace the reported compileCode failure and missing make command. Done means identifying whether this is an installation prerequisite or an rstan issue and documenting a verified path for the example to run successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100