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
Can 'docopt' be installed when this package is installed? #88
Comments
That's indeed strange. I thought {remotes} would also install all dependencies. No, I think |
Sure, no problem. Close if you think best, thanks for the work and for getting back to me. |
I don't think it's a problem with
|
I just saw this cautionary note in the docs: https://lorenzwalthert.github.io/precommit/index.html#caution I think the right solution here is to give a clearer error message that dependencies should be installed manually, and list the relevant deps for each hook. |
Thanks. We’ll hopefully get R support in pre-coming soon in pre-commit/pre-commit#1799 so I hope you understand I don’t bother to add better error messages for this case. |
Thanks, this is actually just what I was looking for.
Ran into a small bump on install:
I ran:
then added this to a pre-existing
.pre-commit-config.yaml
(I'm actually using this to extend a project that has both R and Python and is already also using pre-commit)Which on run of
pre-commit
from the terminal gave:I was easily able to correct for this after running
install.packages("docopt")
,but is it possible to add this to thebut it appears it's already in the imports section. Maybe it needs to be inimports
or similar so it's already sorted?depends
?The text was updated successfully, but these errors were encountered: