-
Notifications
You must be signed in to change notification settings - Fork 0
Verbose mod output #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… Also include link to GNU General Public License (future LICENSE file).
…anslator) to standard output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a verboseOutput option to control where translator messages are displayed. When enabled, error and warning messages from the MCSim model translator are written directly to standard output instead of being saved to temporary files.
Key changes:
- Added a new
verboseOutputparameter tocreateModel()andcompileModel()functions with a default value ofFALSE - Modified message handling logic in
compileModel()to conditionally output translator messages based on theverboseOutputflag - Updated documentation across multiple files to describe the new parameter
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| man/createModel.Rd | Added documentation for the new verboseOutput parameter |
| man/compileModel.Rd | Added documentation for the new verbose_output parameter |
| man/Model-class.Rd | Added documentation for the verboseOutput field and fixed a capitalization inconsistency |
| R/createModel.R | Added verboseOutput parameter and passed it to the Model constructor |
| R/compileModel.R | Implemented conditional logic to output translator messages based on verbose_output flag |
| R/MCSim_model.R | Added verboseOutput field to the Model class and passed it to compileModel() |
| DESCRIPTION | Incremented version number to 1.0.9000 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 11 out of 12 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Created an option for writing error and warning messages (from the model translator) to standard output.