-
Notifications
You must be signed in to change notification settings - Fork 153
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
Additional dependencies via Config/Needs/
#642
Comments
Can you give an example workflow and build log which is failing to install the second order dependencies? |
Here we go: |
Let me start by thanking you all for the hard work you put into this package. I have encountered a similar issue. I am currently working on the Arrow R package and wanted to add In this context, my expectation is that using
Somewhat of a reprex (I call this from inside the RStudio project corresponding to the package):
It might be worth mentioning that both
but that feels a bit hacky to me as this use case is not clearly stated in the docs and, as a consequence, it makes it a bit difficult to depend on this behaviour. * I cannot see a scenario in which I would want to install only pkgdown (without its dependencies) as that would mean it's virtually unusable. |
I suggest you use the |
Thanks for your reply, Gábor! In this case (Arrow), we use both GHA and other CI workflows - the CI pipelines are a bit more complex. This is only one step in a much bigger picture. I don't think we would be able to switch everything to GHA and use |
A follow-up question: does this mean that, for the time being, the only way to use |
If you trust yourself that this is a bug in remotes, then it seems so. |
I am not sure what the objection to |
I did not mention this as I'm still trying to figure out if I can (consistently) reproduce an issue I noticed / perceived with |
so the way So I guess above I should have written 'hard' rather than 'soft'. |
@jimhester Thanks for confirming what I noticed. In conclusion, using
which I read as |
Also, I'm curious if there is a way to have the same behavior as We could do |
I ran a small experiment to understand the differences between Conclusion:
DetailsInvestigation results:
I excluded
We can safely conclude that How I got there?
|
Hopefully the situation is better now with pak? |
Following on from #459, I am using
install_deps('soft', 'Config/Needs/coverage')
in a continuous integration workflow.This installs my package's dependencies, and any package listed in
Config/Needs/coverage
: but not the dependencies of the latter.Specifically, my DESCRIPTION includes
Config/Needs/coverage: covr
, butinstall_deps
does not install packages from "covr"'s imports, such as "rex", so when I run the script I see "package not installed: 'rex'". I believe that this behaviour differs from that of'soft'
: dependencies of soft dependencies are installed.A possible workaround is to list all the "covr" dependencies under "Config/Needs/coverage:", but this would require me to keep this up to date as dependencies change in the future, which seems inelegant.
The text was updated successfully, but these errors were encountered: