-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pre-commit.ci does not work with our hooks #215
Comments
Is the current status still to use the alternative or is R support in pre-commit.ci in sight? |
Yes, I suggest to use this GitHub Action. There is a pending issue (pre-commit-ci/runner-image#59) to support R out of the box. This will be through the |
Now, R is supported as a language (pre-commit-ci/runner-image#80 (comment)). However, there are multiple problems:
|
@PelzKo I am happy to say that with release |
Hello, I am having a similar problem:
My config
and |
Ah, I think I got the answer: https://pre-commit.com/#r |
You need an R installation @luchaoqi yes. R itself is not boostrapped, only the packges. |
https://pre-commit.ci is an upcoming CI/CD service by the creator of pre-commit that lets you run your pre-commit hooks via GitHub (and more to come). It does not work for script, system or local hooks as discussed in pre-commit-ci/issues#13 because the Rscript executable is not installed in the standard Docker image. For pre-commit to work with our R hooks on CI/CD, we must add support for R / renv as a language in pre-commit.
Alternative: https://github.com/openproblems-bio/openproblems/blob/main/.github/workflows/pre-commit.yml
The text was updated successfully, but these errors were encountered: