Refactor scatter and dynamic plots code

Open
#163 0 comments 0 reactions 0 assignees View on GitHub

@vrahier is already working on this.

Since Oct 7, 2026.

  • #161 by @vrahier — closed without merging
  • #175 by @vrahier — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
28/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Stale
Tech stack
r

Research direction

Start from the two files named in the issue, specific_plotting_scatter.R and specific_plotting_dynamic.R, and compare the duplicated plotting paths. Extract shared setup into helpers such as base_scat_plot and base_dyn_plot as suggested, then re-run the package plot examples or tests that exercise scatter and dynamic plots. Done means those two files share the helpers and still produce the same plots. Open PR 161 already tracks this work.

Written by the indexing model from the issue text.

Description

specific_plotting_scatter.R and `specific_plotting_dynamic.R contain a lot of duplicated code that could be refactored.

Defining helper functions such as base_scat_plot and base_dyn_plot would help centralize the logic and simplify plot creation.

Dominant language
R
Stars
1
Forks
3
Avg merge
9h 41m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SticsRPacks/CroPlotR

All issues in SticsRPacks/CroPlotR

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.