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

@pat-s offered to test with {mlr3viz}, which has a timeout because of dependency installation time > 120s. Potentially needs changes upstream in pre-commit.

There are a few issues where users might get lost or are unexpected. A good example is https://results.pre-commit.ci/run/github/146200962/1638570757.qIlnbiX1QlaCkdfzypQpaA. **lintr hook:** ```r #> Error in loadNamespace(name) : there is no package...

Check if the `renv.lock` is up to date by running `renv::status()`. This is potentially expensive.

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

So you don't forget to add a news bullet.

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

See https://pre-commit.com/#pre-commit-during-merges, requires #215.

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

If you don't want your non-staged changes lost when you abort a git commit in the RStudio git tab, please upvote https://github.com/rstudio/rstudio/issues/6471. Full context in the issue and the README...

Complexity: High
Priority: Critical
Status: Unassigned
Type: Bug

https://github.com/MilesMcBain/packup. cc: @MilesMcBain wanna make a PR to implement that? Steps described in CONTRIBUTING.md.

Complexity: Low
Priority: Low
Status: Unassigned
Type: Enhancement

I have a problem when I want to commit after activating precommit with `use_precommit()` I have the latest version, did the autoupdate, everything described here: https://lorenzwalthert.github.io/precommit/articles/precommit.html My .pre-commit-config.yaml is the...

**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()`) -...

* could use a post merge hook or GitHub Action when PR from `hook-dependency-update` was merged into `main`. But probably easier is just as part of the hook dependency update....