Skip to content

precommit

Pre-Commit Hooks

v0.4.3 · Jul 22, 2024 · GPL-3

Description

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.

Downloads

835

Last 30 days

4272nd

2.7K

Last 90 days

9K

Last year

Trend: +2% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Lorenz Walthert <lorenz.walthert@icloud.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Lorenz",
                    family = "Walthert",
                    role = c("aut", "cre"),
                    email = "lorenz.walthert@icloud.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Lorenz Walthert <lorenz.walthert@icloud.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Lorenz",
                    family = "Walthert",
                    role = c("aut", "cre"),
                    email = "lorenz.walthert@icloud.com")
as necessary.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Lorenz Walthert <lorenz.walthert@icloud.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Lorenz",
                    family = "Walthert",
                    role = c("aut", "cre"),
                    email = "lorenz.walthert@icloud.com")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Lorenz Walthert <lorenz.walthert@icloud.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Lorenz",
                    family = "Walthert",
                    role = c("aut", "cre"),
                    email = "lorenz.walthert@icloud.com")
as necessary.

Reverse Dependencies (4)

Dependency Network

Dependencies Reverse dependencies cli fs here magrittr purrr R.cache rlang rprojroot withr yaml SQLFormatteR autonewsmd configulaR readMDTable precommit

Version History

new 0.4.3 Mar 10, 2026
updated 0.4.3 ← 0.4.2 diff Jul 22, 2024
updated 0.4.2 ← 0.4.1 diff Apr 9, 2024
updated 0.4.1 ← 0.4.0 diff Mar 30, 2024
updated 0.4.0 ← 0.3.2 diff Jan 20, 2024
updated 0.3.2 ← 0.3.1 diff Jun 30, 2022
updated 0.3.1 ← 0.3.0 diff Jun 14, 2022
updated 0.3.0 ← 0.2.2 diff May 19, 2022
updated 0.2.2 ← 0.2.1 diff Dec 14, 2021
updated 0.2.1 ← 0.2.0 diff Dec 13, 2021
updated 0.2.0 ← 0.1.3 diff Nov 30, 2021
updated 0.1.3 ← 0.1.2 diff Oct 9, 2020
new 0.1.2 Jun 12, 2020