Skip to content

Commit 5da9a1b

Browse files
Merge pull request #414 from lorenzwalthert/lorenzwalthert-patch-2
Update FAQ.Rmd
2 parents 5f41f93 + fd57b1e commit 5da9a1b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

vignettes/FAQ.Rmd

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ knitr::opts_chunk$set(
1818
)
1919
```
2020

21+
## It's broken. Missing packages etc. How do I fix it?
22+
23+
Update the hook revisions with `$ pre-commit autoupdate` or
24+
`> precommit::autoupdate()`. If this does not help, please follow the
25+
[update
26+
instructions](https://lorenzwalthert.github.io/precommit/dev/articles/precommit.html#update)
27+
in the package documentation. If that does not work, run
28+
`$ pre-commit clean` to clean the pre-commit cache. Then, try again.
29+
Although you could also clear the {renv} cache, this should only be a
30+
strategy of last resort, as it may break other {renv} projects on your
31+
machine and you'd have to do some re-storing there.
32+
2133
## How does it work? What's the magic?
2234

2335
No magic. Git [provides a mechanism for pre-commit

0 commit comments

Comments
 (0)