Package: precommit 0.4.3.9005

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.9005.tar.gz
precommit_0.4.3.9005.zip(r-4.5)precommit_0.4.3.9005.zip(r-4.4)precommit_0.4.3.9005.zip(r-4.3)
precommit_0.4.3.9005.tgz(r-4.5-any)precommit_0.4.3.9005.tgz(r-4.4-any)precommit_0.4.3.9005.tgz(r-4.3-any)
precommit_0.4.3.9005.tar.gz(r-4.5-noble)precommit_0.4.3.9005.tar.gz(r-4.4-noble)
precommit_0.4.3.9005.tgz(r-4.4-emscripten)precommit_0.4.3.9005.tgz(r-4.3-emscripten)
precommit.pdf |precommit.html
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 site:https://lorenzwalthert.github.io

On CRAN:

githookspre-commitvcsworkflow

9.74 score 257 stars 10 scripts 768 downloads 20 exports 17 dependencies

Last updated 16 days agofrom:ba21d8b916. Checks:5 OK, 3 ERROR. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 04 2025
R-4.5-winERRORFeb 04 2025
R-4.5-macOKFeb 04 2025
R-4.5-linuxOKFeb 04 2025
R-4.4-winERRORFeb 04 2025
R-4.4-macOKFeb 04 2025
R-4.3-winERRORFeb 04 2025
R-4.3-macOKFeb 04 2025

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 Feb 04 2025.

Last update: 2025-01-07
Started: 2019-10-20

Continuous Integration

Rendered fromci.Rmdusingknitr::rmarkdownon Feb 04 2025.

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

FAQ

Rendered fromFAQ.Rmdusingknitr::rmarkdownon Feb 04 2025.

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

hook-order

Rendered fromhook-order.Rmdusingknitr::rmarkdownon Feb 04 2025.

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

precommit

Rendered fromprecommit.Rmdusingknitr::rmarkdownon Feb 04 2025.

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

testing

Rendered fromtesting.Rmdusingknitr::rmarkdownon Feb 04 2025.

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

Why is this useful?

Rendered fromwhy-use-hooks.Rmdusingknitr::rmarkdownon Feb 04 2025.

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