Skip to content
Merged
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
12 changes: 12 additions & 0 deletions vignettes/FAQ.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,18 @@ knitr::opts_chunk$set(
)
```

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

Update the hook revisions with `$ pre-commit autoupdate` or
`> precommit::autoupdate()`. If this does not help, please follow the
[update
instructions](https://lorenzwalthert.github.io/precommit/dev/articles/precommit.html#update)
in the package documentation. If that does not work, run
`$ pre-commit clean` to clean the pre-commit cache. Then, try again.
Although you could also clear the {renv} cache, this should only be a
strategy of last resort, as it may break other {renv} projects on your
machine and you'd have to do some re-storing there.

## How does it work? What's the magic?

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