precommit icon indicating copy to clipboard operation
precommit copied to clipboard

pre-commit hooks for R projects

Results 65 precommit issues
Sort by recently updated
recently updated
newest added

This might reduce the dependency graph for people who don't want to use all hooks of that repo significantly. Might have to think about concurrency for {renv}. plus the `.pre-commit-config.yaml`...

Complexity: High
Priority: Medium
Status: Unassigned
Type: Enhancement

Hello developers, is pre-commit able to fetch private github repos as dependencies? I am currently trying to setup the precommit config yaml for an R-package that depends on another private...

Complexity: High
Priority: Medium
Status: Unassigned
Type: Enhancement

- [x] wait for {renv} 0.15 to be CRAN released to fix #342. - [x] Wait for R 4.2 to appear in spring 2022. - [x] update R image on...

On all hook scripts: E.g. to `autoupdate()` or update R or upstream package. And to handle missing packages.

First attempt to implement quick checks for {pkgdown}. Fixes #378

I'd like to propose a new hook that checks if `_pkgdown.yaml` contains all of the topics in `man/`. I'm not sure if this is a general enough issue but currently...

Complexity: Medium
Priority: Medium
Status: Unassigned
Type: Enhancement

Back again! Thank you for improving the support for this use case. I can't get precommit hooks to complete in new project (which uses renv). This is using renv 0.15.2.9...

Complexity: High
Priority: High
Status: WIP
Type: Bug

- It seems that the precommit CI is [styling the full package](https://results.pre-commit.ci/run/github/67336792/1638693564.C0h5TACeRjWF5ivRVf7s9Q) and not only the changed files. Is this indented? - Given that there is never a cache on...

I had mysterious issues with my snapshots, which turned out to be caused by the eof hook changing the `.md` files. This is of course easily solved with `exclude: '\.Rd|_snaps/'`...

Complexity: Low
Priority: High
Status: WIP
Type: Bug

* Mainly to reduce timeout chance on pre-commit.ci and speed up installation and allow packages with `additional_dependencies` to be below the timeout. * Maybe use https://github.com/DominikRafacz/deepdep to explore.

Complexity: Medium
Priority: High
Status: Unassigned
Type: Enhancement