Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,34 +31,34 @@ repos:
- id: spell-check
exclude: >
(?x)^(
(.*/|)NAMESPACE|
(.*/|)WORDLIST|
(.*/|)\.Rbuildignore|
(.*/|)\.Renviron|
(.*/|)\.Rprofile|
(.*/|)\.gitignore|
(.*/|)\.pre-commit-.*|
(.*/|)\.travis\.yml|
(.*/|)appveyor\.yml|
(.*/|)renv/settings\.dcf|
(.*/|)renv\.lock|
.*\.RData|
.*\.Rds|
.*\.Rproj|
.*\.[rR]|
.*\.feather|
.*\.jpeg|
.*\.pdf|
.*\.png|
.*\.py|
.*\.RData|
.*\.rds|
.*\.Rds|
.*\.Rproj|
.*\.sh|
LICENSE|
(.*/|)\.gitignore|
(.*/|)\.pre-commit-.*|
(.*/|)\.Rbuildignore|
(.*/|)\.Renviron|
(.*/|)\.Rprofile|
(.*/|)\.travis\.yml|
(.*/|)appveyor\.yml|
(.*/|)NAMESPACE|
(.*/|)renv/settings\.dcf|
(.*/|)renv\.lock|
(.*/|)WORDLIST|
\.github/workflows/.*|
data/.*|
inst/hooks/.*|
inst/pre-commit-.*|
inst/usethis-legacy-hook|
LICENSE|
renv/.*|
revdep/.*|
tests/testthat/in/.*|
Expand Down Expand Up @@ -121,7 +121,7 @@ repos:
- yaml
- purrr
- glue
- rlang
- rlang@1.3.0
- git2r
- desc
- lorenzwalthert/precommit
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: precommit
Title: Pre-Commit Hooks
Version: 0.4.3.9030
Version: 0.4.3.9031
Author: Lorenz Walthert
Maintainer: Lorenz Walthert <lorenz.walthert@icloud.com>
Description: Useful git hooks for R building on top of the multi-language
Expand Down
5 changes: 3 additions & 2 deletions tests/testthat/in/parsable-roxygen-fail.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
#'
#' This function is great! But \code{oh dear, a missing brace...
#'
#' And isn't that a multi-line example? We should probably use @examples...
#' And isn't that a multi-line example? We should probably use
#' @examples... We do.
#'
#' @param x A parameter.
#'
#' @returns Invisible `NULL`.
#'
#' @example
#' @examples
#' some_function(10)
#' some_function(11)
#'
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-hook-parsable-roxygen.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ run_test(
"parsable-roxygen",
suffix = "-fail.R",
std_out = "Roxygen commentary",
std_err = "@description has mismatched braces or quotes",
std_err = "description has mismatched braces or quotes",
read_only = TRUE
)

Expand Down
Loading