precommit
0.4.3Pre-Commit Hooks
4packages depend
12Kdownloads / year
46.3%test coverage
11/13checks pass
Overview
About
Useful git hooks for R building on top of the multi-language framework 'pre-commit' for hook management. This package provides git hooks for common tasks like formatting files with 'styler' or spell checking as well as wrapper functions to access the 'pre-commit' executable.
Install
Health
CRAN checks
2NOTE11OK
Failing flavors
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 10.4 min · r-release-windows-x86_64
Code health
Yes
Tests · ratio 0.88
46.3%
Coverage · measured lines
100%
Documentation · exports
10
Dependencies · direct
Check history
- NOTE2026-06-0911 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0711 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMEYes · 273 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
- Examples that run
- 25%
- Documented parameters
- 98%
- Return-value docs
- 50%
- References docs
- 0%
Downloads
12K
CRAN downloads in the past year
Rank #3,169 · ~33/day · ~997/mo
Daily download trend is not available in this view yet.
55630 days
4.1K90 days
12K1 year
Also on116 r2u19 autocran2.3K conda_forge
Repository
Repository
274Stars
53Forks
19Open issues
5Open PRs
11Releases
2,233Commits
37Contributors
pre-commithooksgitvcsworkflow
License GPL-3.0 · 2,233 commits · Last activity 2026-07-28 · +0.4% stars, 30d
Stars over time
2025-07-21 · 2612026-07-30 · 276
Forks over time
2025-03-17 · 492026-07-12 · 53
Releases over time
2024-07-23 · 112026-07-07 · 11
Issues over time
2025-06-20 · 232026-07-07 · 19
PRs over time
2025-07-26 · 52026-07-28 · 5
Commits over time
2026-07-09 · 2,2312026-07-26 · 2,233
Repository practices
Upstream repositoryBeta
9 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/lorenzwalthert/precommit on 2026-07-30.
Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
renv
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Show all practices
Automation and maintenance (1)
pre-commit
Lint, format, editor (1)
RStudio project
Governance and community (2)
Issue templatesFunding
Dependencies
Declared dependencies
27 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Suggests (17)
Enhances (0)
none
Code & Tests
People & History
People (0)
Author records are not tracked yet for this package.
Listed in earlier versions (1)
no longer listed · 0.1.2 to 0.4.3
Package Timeline
12 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.4.3Latest
- unarchivedReturned to CRAN2024-07-23
- archivedRemoved from CRAN2024-07-21issues were not corrected in time
- RR 4.4.0 released · 2024-04-24
- 0.4.22024-04-10 · diff ↗
- 0.4.12024-03-31 · diff ↗
- 0.4.02024-01-21 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.3.22022-07-01 · diff ↗
- 0.3.12022-06-15 · diff ↗
- 0.3.02022-05-20 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.2.22021-12-15 · diff ↗
- 0.2.12021-12-14 · diff ↗
0 of 2 selectedCompare selected
Package metadata
- First published
- 2020-06-13
- Total releases
- 12 / 6 yrs
- License
- GPL-3 OSI
- Download size
- 318 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet