Turn off "Compiling additional model methods..." message when calling `init_model_methods`
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 160
- Forks
- 69
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 15
Description
Is your feature request related to a problem? Please describe.
I am creating a package that repeatedly calls init_model_methods (each time I use a different dataset with my Stan model) to give access to log_prob. Each time it does so, it outputs
Compiling additional model methods...
to the console.
Describe the solution you'd like
I'd suggest either removing this informative message or allowing users to do so.
Describe alternatives you've considered
I could capture the output in my package and then remove it from users' view, but that feels messy.
Contributor guide
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 tracing the init_model_methods entry point to where "Compiling additional model methods..." is emitted. Determine whether the message is always suppressed or controlled by an option, then verify that repeated calls no longer print it unexpectedly while model methods remain available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100