-
-
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
Error: object 'never' not found on git commit #473
Comments
This is basically what @EzicJ already found in #441 (comment). My reply then: Ok I don't get that. Because clearly, in the source code, the word never is in quotes. Maybe still some problem with the slashes in the executable (
Just to see if it's worth re-raising that in the upstream repo? If we don't find a solution here, we need to go upstream, basically it's anyways a python pre-commit issue, not an R {precommit} issue. |
Thanks for the help and suggestion. All of the above examples you describe provided the expected output
Thanks for pointing to the previous comments. I suspect it may be a PATH issue, but following comments in #441 have so far not resolved the error, I'll open an issue in the upstream repo. |
Ok. Great. Please link it back to here. |
this looks like the cygwin weirdness with msys2 executables -- I haven't found a solution to it though :/ -- maybe we need to write out the little scripts into temporary directories and execute them instead of as |
ok, I am now more lost than before 😢. You mean for the installation of the hook, around the complicated string |
yeah right now it's running |
@sempwn the issue should be fixed with the latest pre-commit release. Can you install that release, |
Assume this is resolved, re-open otherwise. |
@lorenzwalthert Sorry taken me a while to follow up on this. Had to do a fresh install of Rstudio and R, but is now working for me. Thank you! |
Before filing a bug
remotes::install_github('lorenzwalthert/precommit')
precommit::autoupdate()
)Describe the bug
I encounter the following error when running a
git commit
To Reproduce
I have installed Python in Windows 10 using
reticulate
to install miniconda as described in the README. I started with a minimal.pre-commit-config.yaml
file that reproduces the above error:Additional context
packageVersion('renv')
"0.14.0"The text was updated successfully, but these errors were encountered: