cls should be the last argument
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 40
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
In most cases, I think the user will only have one cluster, and forcing then to think about it all the time, seems inelegant. Why not make it the last argument, default it to NULL, and then use the default cluster that parallel uses? This would allow you to still be explicit when wanted, but in data analysis code, it could be omitted.
Contributor guide
No contributing guide indexed for this repository
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
Search the package for functions whose signatures include cls and compare their behavior with R's parallel default-cluster handling. Check whether cls can consistently move to the last argument and default to NULL while preserving explicit cluster selection. Done means relevant calls work without cls and still accept an explicit cluster.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100