harbor run -t openthoughts/tasktrove-exp-flat25-stackoverflow-v2-5k-stackoverflow-3128harbor download openthoughts/tasktrove-exp-flat25-stackoverflow-v2-5k-stackoverflow-3128Title: Implement R script I/O support for JupyText-style notebooks (.r/.R) in a Python package (reads/writes)
Body: I’m looking to add R-script support to a Python package so that R scripts following JupyText-style notebook conventions can be read into a notebook object and written back without loss of structure. The API to hook into is jupytext.reads(text, ext) and jupytext.writes(nb, ext). The extension handling should be case-insensitive and work for both ".r" and ".R".
What I need to implement
Functional requirements (detailed)
Self-contained deliverables
Validation plan (how to verify)
Non-goals
Actionable steps for the developer