-
-
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
Unable to load dependency for roxygenize #589
Comments
I think it can’t work because that package is not available as binary from the public ppm, which is the repo we rely on and during the installation, we only allow binaries I think. Can you install with |
Thanks for the help. That didn't help. I posted to the Posit dev community forum to see if it would be possible to get a binary posted. Pat |
Did you install the exact same version that you listed in your pre-commit config file? |
Because rent has a cache and if a package is already installed, installing again will take it from the cache. You should see that interactively when you install the same package twice. |
I'm not 100% that I follow what you're asking me to try, so here's the transcript...
It's installing Rfast v.2.1.0, which is what I have in |
sorry I mean't |
Thanks again. Unfortunately, that gives the same type of error...
|
I might have good news for you. With #594, I prepare to allow source installations again. This change needs to happen in the python pre-commit package. I pushed some changes to my fork that you can try. I suggest to install that version in a virtual environment and use the absolute path to reference it to be sure you use the right installation.
Then use the executable at |
@pschloss did you have a chance to try this out? |
Before filing a bug
remotes::install_github('lorenzwalthert/precommit')
precommit::autoupdate()
)Describe the bug
I'm trying to use the roxygenize hook with my package and went through the setup to copy and paste the package dependencies into the yaml. It complains that it cannot install {Rfast}, which I have installed on my computer for the package so I wouldn't think it should be a problem. There's also a lot of stuff popping up about
rvest::setup()
- I'm not using {rvest} with this package.My
.pre-commit-config.yml
file is:To Reproduce
Expected behavior
I would expect it to flag an Rd file for being out of step with the roxygen comments in one of my code files.
Additional context
packageVersion('renv')
The text was updated successfully, but these errors were encountered: