Package: precommit 0.4.3.9004

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.9004.tar.gz
precommit_0.4.3.9004.zip(r-4.5)precommit_0.4.3.9004.zip(r-4.4)precommit_0.4.3.9004.zip(r-4.3)
precommit_0.4.3.9004.tgz(r-4.4-any)precommit_0.4.3.9004.tgz(r-4.3-any)
precommit_0.4.3.9004.tar.gz(r-4.5-noble)precommit_0.4.3.9004.tar.gz(r-4.4-noble)
precommit_0.4.3.9004.tgz(r-4.4-emscripten)precommit_0.4.3.9004.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'))

Peer review:

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

On CRAN:

githookspre-commitvcsworkflow

9.77 score 252 stars 10 scripts 806 downloads 20 exports 17 dependencies

Last updated 21 days agofrom:8f3f16a210. Checks:OK: 4 ERROR: 3. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-winERRORNov 01 2024
R-4.5-linuxOKNov 01 2024
R-4.4-winERRORNov 01 2024
R-4.4-macOKNov 01 2024
R-4.3-winERRORNov 01 2024
R-4.3-macOKNov 01 2024

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 Nov 01 2024.

Last update: 2024-07-25
Started: 2019-10-20

Continuous Integration

Rendered fromci.Rmdusingknitr::rmarkdownon Nov 01 2024.

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

FAQ

Rendered fromFAQ.Rmdusingknitr::rmarkdownon Nov 01 2024.

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

hook-order

Rendered fromhook-order.Rmdusingknitr::rmarkdownon Nov 01 2024.

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

precommit

Rendered fromprecommit.Rmdusingknitr::rmarkdownon Nov 01 2024.

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

testing

Rendered fromtesting.Rmdusingknitr::rmarkdownon Nov 01 2024.

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

Why is this useful?

Rendered fromwhy-use-hooks.Rmdusingknitr::rmarkdownon Nov 01 2024.

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