Skip to content

Commit fd57b1e

Browse files
Update FAQ.Rmd
1 parent 110105e commit fd57b1e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

vignettes/FAQ.Rmd

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ knitr::opts_chunk$set(
2020

2121
## It's broken. Missing packages etc. How do I fix it?
2222

23-
Update the hook revisions with `$ pre-commit autoupdate`. This does not
24-
help, please follow the Update instructions in the README. If that does
25-
not work, run `$ pre-commit clean` to clean the pre-commit cache.
26-
Although you could also clear the {renv} cache, this should only be a
27-
strategy of last resort, as it may break other {renv} projects on your
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
2831
machine and you'd have to do some re-storing there.
2932

30-
3133
## How does it work? What's the magic?
3234

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

0 commit comments

Comments
 (0)