Package: precommit 0.4.3
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.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')) |
Bug tracker:https://github.com/lorenzwalthert/precommit/issues
Last updated 2 months agofrom:e5cc1e8652. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Aug 22 2024 |
R-4.5-linux | OK | Aug 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.Rmd
usingknitr::rmarkdown
on Aug 22 2024.Last update: 2024-04-01
Started: 2020-06-13
Continuous Integration
Rendered fromci.Rmd
usingknitr::rmarkdown
on Aug 22 2024.Last update: 2022-06-15
Started: 2021-12-01
FAQ
Rendered fromFAQ.Rmd
usingknitr::rmarkdown
on Aug 22 2024.Last update: 2022-06-15
Started: 2020-06-13
hook-order
Rendered fromhook-order.Rmd
usingknitr::rmarkdown
on Aug 22 2024.Last update: 2024-04-01
Started: 2020-06-13
precommit
Rendered fromprecommit.Rmd
usingknitr::rmarkdown
on Aug 22 2024.Last update: 2022-06-15
Started: 2022-05-20
testing
Rendered fromtesting.Rmd
usingknitr::rmarkdown
on Aug 22 2024.Last update: 2024-07-23
Started: 2021-12-01
Why is this useful?
Rendered fromwhy-use-hooks.Rmd
usingknitr::rmarkdown
on Aug 22 2024.Last update: 2022-06-15
Started: 2020-06-13
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 |