File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff 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
2335No magic. Git [ provides a mechanism for pre-commit
You can’t perform that action at this time.
0 commit comments