Consider programmatically generating `methods.R`
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reading methods.R and the linked code-generation article and experimental package to understand the proposed approach. The issue does not specify which methods to generate or a desired workflow; first clarify those decisions with maintainers. Done looks like an agreed generation design that addresses verbosity and readability, with a defined way to verify the generated file.
Written by the indexing model from the issue text.
Description
This was suggested by Vince:
We currently have a tension where the methods.R file is either very long and extra verbose, or more concise but not very easy to understand.
One potential way around this would be to have a very verbose methods.R which is programmatically generated. This way, the repetition in this file is no longer a problem because we would only edit the file to generate it.
Some additional references:
- https://blog.r-hub.io/2020/02/10/code-generation/
- this experimental package, where all the code in
R/is programmatically generated: https://github.com/bisaloo/signaturechecker
- Dominant language
- R
- Stars
- 37
- Forks
- 10
- Avg merge
- 22h 46m
- Merged PRs (30d)
- 20
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 HelenaLC/spatialdataR
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
HelenaLC/spatialdataR#252 ·
Maintainers usually reply within 1 day
-
axes order in image/label show methodPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
HelenaLC/spatialdataR#239 · 11 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 Half a day Newbie friendliness 60/100
HelenaLC/spatialdataR#271 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
HelenaLC/spatialdataR#251 · 6 comments · 3 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
HelenaLC/spatialdataR#241 ·
Maintainers usually reply within 1 day
All issues in HelenaLC/spatialdataR
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug documentation
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
archaeothommy/ASTR#62 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 95/100
ImpactMojo/ImpactMojo#1286 ·
Maintainers usually reply within 1 day