optimizing needs informative error message if theta_tilde not returned
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.1k
- Forks
- 266
- Avg merge
- 2h 56m
- Merged PRs (30d)
- 1
Description
For optimizing, when this line
is executed, if is.matrix(R <- try(chol(-H))) is FALSE (i.e. if there's an error computing chol(-H)) then an error is thrown about that but there is no message telling the user that because of this no draws theta_tilde from the MVN will be returned. We should have such a message/warning.
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
Inspect rstan/rstan/R/stanmodel-class.R at the linked line in optimizing, focusing on the branch where chol(-H) fails and theta_tilde is not returned. Reproduce that path and check how the existing error is surfaced; done means the resulting message or warning also tells users that no theta_tilde draws from the MVN will be returned.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100