precommit
precommit copied to clipboard
pre-commit hooks for R projects
Pros * better visibility / quality label. * maybe others can help maintaining? Cons * less freedom (e.g. style guide?, ssr standards etc.) * Time consuming submissino process?
Fixes #446. When I run `R CMD check` (with `devtools::check()`), I get an `ERROR` and two `NOTE`s, but I believe the error is unrelated to this PR and only one...
**Before filing a bug** - [x] I have installed the latest dev version of {precommit} with `remotes::install_github('lorenzwalthert/precommit')` - [x] I have installed the latest hook revisions (update with `precommit::autoupdate()`) -...
**Is your feature request related to a problem? Please describe.** Repeating all dependencies from DESCRIPTION is tidious. **Describe the solution you'd like** A roxygenise hook that works out of the...
Creating an issue to track this, just so that we don't forget about it. > I was wondering if we should add a pre-commit hook for YAML formatting (and I...
**Describe the bug** [This arg](https://github.com/lorenzwalthert/precommit/blob/main/vignettes/available-hooks.Rmd#L55) is incorrect and it should be changed to `--warn_only`
https://github.com/pre-commit-ci/issues/issues/13
Similar to `codemeta.json`, `CITATION.cff` provides machine and human-readable information about how to cite a package. The [cffr](https://docs.ropensci.org/cffr/) package can auto-generate it, and already has [a hook available](https://docs.ropensci.org/cffr/reference/cff_git_hook.html). It would be...