-
Notifications
You must be signed in to change notification settings - Fork 0
[Feature] Add parallel plot utilities #138
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
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 new parallel plotting utilities to replace legacy code with properly exported functions. The change transforms an internal script into two documented, tested functions for parallel plot generation and saving.
Key changes:
- Added
epi_plot_parallel()andepi_plot_save_parallel()functions with full documentation - Moved
foreachfrom suggested to required dependencies - Added comprehensive test coverage for parallel plotting functionality
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
R/epi_plot_parallel.R |
New implementation of parallel plotting functions with proper error handling and documentation |
tests/testthat/test-plot-parallel.R |
Test suite covering both parallel plotting functions with multicore execution |
man/epi_plot_parallel.Rd |
Generated documentation for the new parallel plotting functions |
legacy/epi_plot_en_masse.R |
Removal of legacy parallel plotting script |
NAMESPACE |
Updated exports and imports including new foreach import |
DESCRIPTION |
Moved foreach from Suggests to Imports section |
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #138 +/- ##
==========================================
+ Coverage 84.82% 85.54% +0.71%
==========================================
Files 61 62 +1
Lines 1351 1397 +46
==========================================
+ Hits 1146 1195 +49
+ Misses 205 202 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…gement-in-epi_utils_multicore Codex/adjust future plan management in epi utils multicore
What was changed and why
epi_plot_parallel()andepi_plot_save_parallel()foreachimportTests added
tests/testthat/test-plot-parallel.RBackward compatibility
Code coverage change
https://chatgpt.com/codex/tasks/task_e_68ade63b44b08326a8daa1ff1c75a828