tidymodels / tidymodels/rsample
Make use of cli for `print()` methods
Open
Nobody has claimed this yet.
tidy-dev-day :nerd_face:
- Dominant language
- R
- Stars
- 343
- Forks
- 67
- Avg merge
- 1h 9m
- Merged PRs (30d)
- 2
Description
The print() methods often use cat() and paste elements together in a way that requires explicit handling of newlines. This should be nicer with the cli package: https://cli.r-lib.org/articles/semantic-cli.html
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 by locating the package's print() methods and read the cli package's semantic CLI guidance linked in the issue. Review the current output and newline handling across those methods, then verify that the updated output remains equivalent while using cli conventions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- cli, tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100