Skip to content

precommit

0.4.3

Pre-Commit Hooks

4packages depend
12Kdownloads / year
46.3%test coverage
11/13checks pass

Overview

About
Maintained by Lorenz WalthertFirst published 2020-06-1312 releasesCRAN page ↗GitHub ↗

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-09
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    11 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 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
Compare downloads with other packages →
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

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
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
27 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect

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.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.3Latest
    2024-07-23 · current release · diff ↗
  • unarchivedReturned to CRAN
    2024-07-23
  • archivedRemoved from CRAN
    2024-07-21
    issues were not corrected in time
  • R
    R 4.4.0 released · 2024-04-24
  • 0.4.2
    2024-04-10 · diff ↗
  • 0.4.1
    2024-03-31 · diff ↗
  • 0.4.0
    2024-01-21 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.3.2
    2022-07-01 · diff ↗
  • 0.3.1
    2022-06-15 · diff ↗
  • 0.3.0
    2022-05-20 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.2
    2021-12-15 · diff ↗
  • 0.2.1
    2021-12-14 · diff ↗
Show 5 earlier events
  • 0.2.0
    2021-12-01 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.3
    2020-10-10 · diff ↗
  • 0.1.2
    2020-06-13
  • R
    R 4.0.0 released · 2020-04-24

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
Report a problem with this page →