Repository navigation
Hidden dir/file handling - #387
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #387 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 29 29
Lines 833 833
=========================================
Hits 833 833 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
For Windows, the resulting path of a created file is ".hidden\\filede44e5be4\\filede42d6b31e0", which passes grep and does not raise an error, thereby failing the test/ grep could be extended, but Windows-style paths are never expected in path anyway and should be handled in a seperate check. See #391
sannegovaert
approved these changes
Oct 27, 2026
sannegovaert
left a comment
Contributor
There was a problem hiding this comment.
All good!
Logged #392 for documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix #385: R CMD checked return a NOTE regarding hidden files (required by a test). These are now temporarily created as part of the test.
Fix #386: All tempdirs created by tests are now handled by
withr::local_tempdir(), which has the advantage that they are removed automatically (no need foron.exit(unlink(dir, recursive = TRUE))).This are changes that don't affect the users of developers, so I feel no need to mention this in NEWS.