mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-20 01:24:42 +04:00
add support for R via renv
This commit is contained in:
parent
b193d9e67b
commit
f1502119a2
15 changed files with 443 additions and 4 deletions
5
testing/resources/r_hooks_repo/hello-world.R
Executable file
5
testing/resources/r_hooks_repo/hello-world.R
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
stopifnot(
|
||||
packageVersion('rprojroot') == '1.0',
|
||||
packageVersion('gli.clu') == '0.0.0.9000'
|
||||
)
|
||||
cat("Hello, World, from R!\n")
|
||||
Loading…
Add table
Add a link
Reference in a new issue