function argument variables or variable?
Open
Nobody has claimed this yet.
documentation
- Dominant language
- R
- Stars
- 171
- Forks
- 26
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 3
Description
extract_list_of_variable_arrays()has argument namedvariablesset_variables()has argument namedvariablessubset_draws()has argument namedvariable
All these accept one or many variable names. Should these be unified to all use variable?
Currently if the argument is variables, using variable works, too, due to how R works. Would be enough to change the documentation for these?
Contributor 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.
Research direction
Start with the definitions and documentation for extract_list_of_variable_arrays(), set_variables(), and subset_draws(). Compare their argument naming and documented usage, then determine whether consistency requires documentation-only changes or implementation changes; done means the three interfaces present one clear convention.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- backend-api-design
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100