Add comprehensive refactoring plan for R package modernization #200
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Addresses the need for a detailed, prioritized refactoring strategy to modernize the artMS proteomics analysis package while maintaining backward compatibility.
Documentation Suite (6 files, 81KB)
Navigation & Quick Reference
DOCUMENTATION_INDEX.md- Role-based reading guide and topic navigationREFACTORING_OVERVIEW.md- Visual timeline, metrics dashboard, success criteriaPlanning & Strategy
REFACTORING_PLAN.md- 3-phase implementation (P0-P3 priorities, 6-month timeline)DEPENDENCIES.md- Audit of 50 dependencies with migration pathsImplementation Support
IMPLEMENTATION_GUIDE.md- Task-by-task steps with code templatesMIGRATION_GUIDE.md- User transition guide across versionsKey Plan Elements
Phase 1 (4-6 weeks): Critical Updates → v1.12.0
plyr→dplyr,gProfileR→gprofiler2checkmatePhase 2 (6-8 weeks): Organization → v1.14.0
Phase 3 (4-6 weeks): Advanced → v1.16.0
Backward Compatibility
Package Analysis
Current state: 22 R files, ~14K LOC, 33 exports, 4 functional modules (QC, MSstats, analysis, export)
Priority fixes identified:
plyr(superseded),gProfileR(deprecated/removed from CRAN)Example Migration Pattern
Updated
README.mdwith links to refactoring documentation.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.