Reconsider exporting format_cropr() and dectect_mixture()
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start by locating the exports, documentation, and tests for format_cropr() and dectect_mixture(); the issue names no specific files. Decide whether they should remain public or become internal, and consider whether a deprecation cycle is needed for backward compatibility. Done means the chosen API status is reflected consistently in exports, documentation, validation, and tests.
Written by the indexing model from the issue text.
Description
Description
The functions format_cropr() and dectect_mixture() are currently exported in CroPlotR, making them part of the public API.
However, their intended scope and level of stability seem closer to internal utilities rather than user-facing functions. They are primarily used as intermediate processing steps and are not clearly documented as standalone features for end users.
This raises the question of whether they should remain exported.
Proposed change
- Move
format_cropr()anddectect_mixture()to internal scope (remove@exportand document them with@keywords internalif needed). - Alternatively, if they are meant to be part of the public API:
- Clarify their role in the documentation.
- Strengthen argument validation.
- Add explicit examples and tests covering user-facing usage.
Additional note
If backward compatibility is a concern, a deprecation cycle could be considered before fully unexporting these functions.
- Dominant language
- R
- Stars
- 1
- Forks
- 3
- Avg merge
- 9h 41m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SticsRPacks/CroPlotR
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
SticsRPacks/CroPlotR#185 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SticsRPacks/CroPlotR#180 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
SticsRPacks/CroPlotR#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 57/100
SticsRPacks/CroPlotR#181 ·
-
enhancement
Difficulty 3/5 Half a day Newbie friendliness 64/100
SticsRPacks/CroPlotR#173 ·
All issues in SticsRPacks/CroPlotR
Similar issues
-
1.7
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pharmaverse/admiral#3235 ·
Maintainers usually reply within 2 days
-
Typo: p.381Open
Difficulty 1/5 Under an hour Newbie friendliness 95/100
rmcelreath/rethinking#482 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day