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:
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
Last updated from:8054a7fe52. Checks:6 OK, 3 ERROR. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 219 | ||
| source / vignettes | OK | 233 | ||
| linux-release-x86_64 | OK | 258 | ||
| macos-release-arm64 | OK | 143 | ||
| macos-oldrel-arm64 | OK | 132 | ||
| windows-devel | ERROR | 224 | ||
| windows-release | ERROR | 262 | ||
| windows-oldrel | ERROR | 227 | ||
| wasm-release | OK | 135 |
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
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Auto-update your hooks | autoupdate |
| Install pre-commit on your system | install_precommit |
| Open pre-commit related files | open_config open_wordlist |
| Locate the pre-commit executable | path_precommit_exec path_pre_commit_exec |
| Generate code snippets | snippet_generate |
| Uninstall pre-commit | uninstall_precommit |
| Update the pre-commit executable | update_precommit |
| Use continuous integration with pre-commit | use_ci |
| Get started with pre-commit | use_precommit |
| Initiate a pre-commit config file | use_precommit_config |
| Retrieve the version of the pre-commit executable used | version_precommit |
