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

These tests do more harm than good #2542

Merged
merged 1 commit into from
Nov 4, 2023
Merged

Conversation

jennybc
Copy link
Member

@jennybc jennybc commented Nov 4, 2023

Closes #2477

As written, these tests (indirectly) call remotes::update_packages("roxygen2") which can cause package installation on any machine that runs the tests. And this installation is NOT scoped correctly, i.e. to a temporary library.

I got fairly far into refactoring the tests, when I realized that fixing them introduced more complexity than was worth it. Passing arguments along isn't a tricky operation. devtools is better off without these tests.

Closes #2477

As written, these tests (indirectly) call `remotes::update_packages("roxygen2")` which can cause package installation on any machine that runs the tests. And this installation is NOT scoped correctly, i.e. to a temporary library.

I got fairly far into refactoring the tests, when I realized that fixing them introduced more complexity than was worth it. Passing arguments along isn't a tricky operation. devtools is better off without these tests.
@jennybc jennybc merged commit c901718 into main Nov 4, 2023
13 checks passed
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.

Test Dependency Packages Out of Snapshot Polluted Installation Repository
1 participant