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

Use more common package definition for R #1898

Conversation

lorenzwalthert
Copy link
Contributor

@lorenzwalthert lorenzwalthert commented May 3, 2021

This changes the criteria for determining if a hook repo is an R package: I suggest to check for Package: in DESCRIPTION (like {devtools}) to determine if a repo is an R package, we previously checked on the less commonly used Type: Package field. The definition matters because non-package repos are not installed.

I’ll send a PR to update the docs if it goes through.

Copy link
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asottile asottile merged commit 0107df0 into pre-commit:master May 5, 2021
@lorenzwalthert lorenzwalthert deleted the idenfity-package-over-package-field branch May 17, 2021 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants