feat: `testthat::snapshot_download_gh()` should prompt user to run accept/review code
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
Research direction
Start at the testthat::snapshot_download_gh() entry point and compare where its existing GitHub Actions log prompt is produced. Make the completed download flow display the requested snapshot_accept() and snapshot_review() instructions, then verify that the prompt appears after downloads finish.
Written by the indexing model from the issue text.
Description
I believe there is a lot of context switching when trying to get snapshots downloaded and accepting them.
With IDEs being better about clicking code to run, after all downloads are completed, I'm wanting to be prompted with:
── Snapshots ─────
To review and process snapshots locally:
* Run `testthat::snapshot_accept()` to accept all changes.
* Run `testthat::snapshot_review()` to review all changes.
Currently, this prompt is only within the GHA logs, not where the code is being run.
- Dominant language
- R
- Stars
- 939
- Forks
- 346
- PR merge metrics
- No merged PRs in 30d
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.
More from r-lib/testthat
-
Documentation for expect_error argument 'regexp' says it accepts a character vector but it does not Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 3/5 1-2 days Newbie friendliness 66/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
r-lib/pkgdepends#485 · 3 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
beginners blocker
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enviPathR OpenBuild Error Build OK Build Warning policies-accepted pre-review precheck-passed
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Bioconductor/BiocContributions#207 · 6 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
datacarpentry/semester-biology#1255 ·