Skip to content

Commit db38c6f

Browse files
committed
Add docs
1 parent 5bd9045 commit db38c6f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

vignettes/available-hooks.Rmd

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,3 +358,18 @@ development dependencies of the package you want to run this hook for to be
358358
installed, as well as {pkgdown} (without its dependencies).
359359

360360
This hook does not modify files. Added in version 0.3.2.9003.
361+
362+
## `validate-renv-lock`
363+
364+
Validate that your `renv.lock` file is valid json and fits the {renv} schema.
365+
366+
In general you should _not_ be editing `renv.lock` manually.
367+
Instead you should use the functions in the
368+
[official {renv} documentation](https://rstudio.github.io/renv/index.html).
369+
370+
This hook seeks to add an extra check for changes to prevent committing
371+
accidental edits, whether from troubleshooting or otherwise.
372+
373+
This hook does not modify files.
374+
375+
id: validate-renv-lock

0 commit comments

Comments
 (0)