Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tweak compute_name() to recognize snapshot files #1990

Merged
merged 5 commits into from
Jun 28, 2024

Conversation

olivroy
Copy link
Contributor

@olivroy olivroy commented May 14, 2024

fix #1988

Tested manually that this worked as expected too!

I decided to create a PR because I had squeezed in and tested something similar in #1978 (comment) and I thought I'd separate out in another PR.

@olivroy olivroy mentioned this pull request Jun 27, 2024
@jennybc jennybc mentioned this pull request Jun 27, 2024
@jennybc
Copy link
Member

jennybc commented Jun 27, 2024

In the name of getting this merged, will you narrow this down to just address #1988? I'd like to keep it separate from the messier matter of test helper files.

tests/testthat/test-r.R Outdated Show resolved Hide resolved
R/r.R Outdated Show resolved Hide resolved
NEWS.md Outdated Show resolved Hide resolved
@olivroy olivroy changed the title tweak compute_name() to recognize test helper and snapshot files tweak compute_name() to recognize snapshot files Jun 27, 2024
R/r.R Outdated Show resolved Hide resolved
olivroy and others added 2 commits June 28, 2024 09:11
@hadley hadley merged commit 2663877 into r-lib:main Jun 28, 2024
14 checks passed
@olivroy olivroy deleted the helper-snap branch June 28, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use_test() and friends should know about snapshot files
3 participants