Package: precommit 0.4.3

Lorenz Walthert

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.tar.gz
precommit_0.4.3.tar.gz(r-4.5-noble)precommit_0.4.3.tar.gz(r-4.4-noble)
precommit_0.4.3.tgz(r-4.4-emscripten)precommit_0.4.3.tgz(r-4.3-emscripten)
precommit.pdf |precommit.html
precommit/json (API)
NEWS

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

Peer review:

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

20 exports 0.49 score 17 dependencies 10 scripts 739 downloads

Last updated 2 months agofrom:e5cc1e8652. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKAug 22 2024
R-4.5-linuxOKAug 22 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 Aug 22 2024.

Last update: 2024-04-01
Started: 2020-06-13

Continuous Integration

Rendered fromci.Rmdusingknitr::rmarkdownon Aug 22 2024.

Last update: 2022-06-15
Started: 2021-12-01

FAQ

Rendered fromFAQ.Rmdusingknitr::rmarkdownon Aug 22 2024.

Last update: 2022-06-15
Started: 2020-06-13

hook-order

Rendered fromhook-order.Rmdusingknitr::rmarkdownon Aug 22 2024.

Last update: 2024-04-01
Started: 2020-06-13

precommit

Rendered fromprecommit.Rmdusingknitr::rmarkdownon Aug 22 2024.

Last update: 2022-06-15
Started: 2022-05-20

testing

Rendered fromtesting.Rmdusingknitr::rmarkdownon Aug 22 2024.

Last update: 2024-07-23
Started: 2021-12-01

Why is this useful?

Rendered fromwhy-use-hooks.Rmdusingknitr::rmarkdownon Aug 22 2024.

Last update: 2022-06-15
Started: 2020-06-13