From b1ded7a39744cd43b2eee91332946e06e8d88b9d Mon Sep 17 00:00:00 2001 From: Lorenz Walthert Date: Wed, 1 Jun 2022 07:58:20 +0200 Subject: [PATCH 1/3] Update FAQ.Rmd --- vignettes/FAQ.Rmd | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/vignettes/FAQ.Rmd b/vignettes/FAQ.Rmd index 5e1f7017f..e7a9955c4 100644 --- a/vignettes/FAQ.Rmd +++ b/vignettes/FAQ.Rmd @@ -18,6 +18,15 @@ knitr::opts_chunk$set( ) ``` +## It's broken. Missing packages etc. + +Update the hook revisions with +`$ pre-commit autoupdate`. This does not help, please follow the +Update instructions in the README. If that does not work, run +`$ pre-commit clean` to clean the +pre-commit cache. + + ## How does it work? What's the magic? No magic. Git [provides a mechanism for pre-commit From 110105e7cb4d522f5b08812e2a26df80ecca8a1b Mon Sep 17 00:00:00 2001 From: Lorenz Walthert Date: Thu, 2 Jun 2022 09:30:38 +0200 Subject: [PATCH 2/3] Update FAQ.Rmd --- vignettes/FAQ.Rmd | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/vignettes/FAQ.Rmd b/vignettes/FAQ.Rmd index e7a9955c4..c7e502472 100644 --- a/vignettes/FAQ.Rmd +++ b/vignettes/FAQ.Rmd @@ -18,13 +18,14 @@ knitr::opts_chunk$set( ) ``` -## It's broken. Missing packages etc. - -Update the hook revisions with -`$ pre-commit autoupdate`. This does not help, please follow the -Update instructions in the README. If that does not work, run -`$ pre-commit clean` to clean the -pre-commit cache. +## It's broken. Missing packages etc. How do I fix it? + +Update the hook revisions with `$ pre-commit autoupdate`. This does not +help, please follow the Update instructions in the README. If that does +not work, run `$ pre-commit clean` to clean the pre-commit cache. +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? From fd57b1e2665c93a772d8f9f94441a70ff205a6b2 Mon Sep 17 00:00:00 2001 From: Lorenz Walthert Date: Sun, 5 Jun 2022 00:39:19 +0200 Subject: [PATCH 3/3] Update FAQ.Rmd --- vignettes/FAQ.Rmd | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/vignettes/FAQ.Rmd b/vignettes/FAQ.Rmd index c7e502472..e4e870583 100644 --- a/vignettes/FAQ.Rmd +++ b/vignettes/FAQ.Rmd @@ -20,14 +20,16 @@ knitr::opts_chunk$set( ## It's broken. Missing packages etc. How do I fix it? -Update the hook revisions with `$ pre-commit autoupdate`. This does not -help, please follow the Update instructions in the README. If that does -not work, run `$ pre-commit clean` to clean the pre-commit cache. -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 +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