Repository navigation
Pin roxygen2 in the pre-commit config - #1301
Merged
Merged
Conversation
The roxygenize hook installed whatever roxygen2 the pinned rev's lockfile resolved to, which differed from the version CI uses, so generated files could change depending on where the hook ran. v0.4.3.9025 snapshots a repository without rdtools, which roxygen2 8.1.0 requires, so the pin has no effect at that rev. v0.4.3.9032 snapshots a later one that has it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PefX8qkninc5xGA2eCJ4aD
Collaborator
|
Good idea, I also wondered about that but did not check if there was a newer hook revision. |
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.
Follow-up to #1300, where the pin was requested.
The pin needs a newer
rev.v0.4.3.9025snapshots a repository withoutrdtools, which roxygen2 8.1.0 requires, soroxygen2@8.1.0has no effect there.v0.4.3.9032snapshots a later one that has it, and the pin then applies.Only the {precommit}
revis bumped, not the other hooks'. All hooks pass locally, with theroxygenizecache cleared so that it actually runs.🤖 Generated with Claude Code, with thorough human review. Work supported by @GoekeLab.