Package: precommit 0.4.3.9025

precommit: Pre-Commit Hooks

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.

Authors:Lorenz Walthert

precommit_0.4.3.9025.tar.gz
precommit_0.4.3.9025.zip(r-4.7)precommit_0.4.3.9025.zip(r-4.6)precommit_0.4.3.9025.zip(r-4.5)
precommit_0.4.3.9025.tgz(r-4.6-any)precommit_0.4.3.9025.tgz(r-4.5-any)
precommit_0.4.3.9025.tar.gz(r-4.7-any)precommit_0.4.3.9025.tar.gz(r-4.6-any)
precommit_0.4.3.9025.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
precommit/json (API)
NEWS

# Install 'precommit' in R:
install.packages('precommit', repos = c('https://lorenzwalthert.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/lorenzwalthert/precommit/issues

Pkgdown/docs site:https://lorenzwalthert.github.io

On CRAN:

Conda:

githookspre-commitvcsworkflow

9.97 score 274 stars 9 scripts 1.7k downloads 20 exports 17 dependencies

Last updated from:8054a7fe52. Checks:6 OK, 3 ERROR. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK219
source / vignettesOK233
linux-release-x86_64OK258
macos-release-arm64OK143
macos-oldrel-arm64OK132
windows-develERROR224
windows-releaseERROR262
windows-oldrelERROR227
wasm-releaseOK135

Exports:autoupdatediff_requires_run_roxygenizedirs_R.cacheinstall_precommitmay_require_permanent_cacheopen_configopen_wordlistpath_pre_commit_execpath_precommit_execprecommit_docoptrobust_purlroxygen_assert_additional_dependenciesroxygenize_with_cachesnippet_generateuninstall_precommitupdate_precommituse_ciuse_precommituse_precommit_configversion_precommit

Dependencies:clidigestfsglueherelifecyclemagrittrpurrrR.cacheR.methodsS3R.ooR.utilsrlangrprojrootvctrswithryaml

Available Hooks

Rendered fromavailable-hooks.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2025-11-08
Started: 2019-10-20

Continuous Integration

Rendered fromci.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2022-06-14
Started: 2021-11-26

FAQ

Rendered fromFAQ.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2022-06-14
Started: 2019-12-03

hook-order

Rendered fromhook-order.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2024-02-14
Started: 2020-05-05

precommit

Rendered fromprecommit.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2022-06-14
Started: 2022-03-13

testing

Rendered fromtesting.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2024-07-14
Started: 2021-05-05

Why is this useful?

Rendered fromwhy-use-hooks.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2022-06-14
Started: 2019-10-21