tidymodels / tidymodels/rsample

Make use of cli for `print()` methods

Open
#587 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.