Skip to content

Use more common package definition for R#1898

Merged
asottile merged 1 commit intopre-commit:masterfrom
lorenzwalthert:idenfity-package-over-package-field
May 5, 2021
Merged

Use more common package definition for R#1898
asottile merged 1 commit intopre-commit:masterfrom
lorenzwalthert:idenfity-package-over-package-field

Conversation

@lorenzwalthert
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants