File tree Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 22# R specific hooks: https://github.com/lorenzwalthert/precommit
33repos :
44- repo : https://github.com/lorenzwalthert/precommit
5- rev : v0.4.3.9003
5+ rev : 111b95a44750a710337f71d3886832b95b327774
66 hooks :
77 - id : style-files
88 args : [--style_pkg=styler, --style_fun=tidyverse_style, --cache-root=styler-perm]
@@ -31,34 +31,34 @@ repos:
3131 - id : spell-check
3232 exclude : >
3333 (?x)^(
34+ (.*/|)NAMESPACE|
35+ (.*/|)WORDLIST|
36+ (.*/|)\.Rbuildignore|
37+ (.*/|)\.Renviron|
38+ (.*/|)\.Rprofile|
39+ (.*/|)\.gitignore|
40+ (.*/|)\.pre-commit-.*|
41+ (.*/|)\.travis\.yml|
42+ (.*/|)appveyor\.yml|
43+ (.*/|)renv/settings\.dcf|
44+ (.*/|)renv\.lock|
45+ .*\.RData|
46+ .*\.Rds|
47+ .*\.Rproj|
3448 .*\.[rR]|
3549 .*\.feather|
3650 .*\.jpeg|
3751 .*\.pdf|
3852 .*\.png|
3953 .*\.py|
40- .*\.RData|
4154 .*\.rds|
42- .*\.Rds|
43- .*\.Rproj|
4455 .*\.sh|
45- (.*/|)\.gitignore|
46- (.*/|)\.pre-commit-.*|
47- (.*/|)\.Rbuildignore|
48- (.*/|)\.Renviron|
49- (.*/|)\.Rprofile|
50- (.*/|)\.travis\.yml|
51- (.*/|)appveyor\.yml|
52- (.*/|)NAMESPACE|
53- (.*/|)renv/settings\.dcf|
54- (.*/|)renv\.lock|
55- (.*/|)WORDLIST|
56+ LICENSE|
5657 \.github/workflows/.*|
5758 data/.*|
5859 inst/hooks/.*|
5960 inst/pre-commit-.*|
6061 inst/usethis-legacy-hook|
61- LICENSE|
6262 renv/.*|
6363 revdep/.*|
6464 tests/testthat/in/.*|
Original file line number Diff line number Diff line change @@ -85,8 +85,8 @@ roxygenize_with_cache <- function(key, dirs) {
8585 error = function (e ) e
8686 )
8787 if (
88- inherits(out , " packageNotFoundError" ) ||
89- (" message" %in% names(out ) && grepl(" The package .* is required\\ ." , out $ message ))
88+ inherits(out , c( " packageNotFoundError" , " rlib_error_package_not_found " ) ) ||
89+ (" message" %in% names(out ) && grepl(" The package .* is required\\ ." , conditionMessage( out ) ))
9090 ) {
9191 rlang :: abort(paste0(
9292 conditionMessage(out ),
You can’t perform that action at this time.
0 commit comments