tidymodels / tidymodels/rsample

Test error class rather than snapshot for errors from other packages

Open
#542 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

upkeep
Dominant language
R
Stars
343
Forks
67
Avg merge
1h 9m
Merged PRs (30d)
2

Description

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 reviewing the tidyselect-related snapshot example in tests/testthat/_snaps/boot.md and the error-class assertion in tests/testthat/test-compat-vctrs.R. Identify the other tests that snapshot errors from tidyselect, then update them so completion is verified by error class rather than message text.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.