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
Installing first bioconductor package fails on the first attempt, but then succeeds on the second #1184
Comments
This will address issues with failed BioConductor builds until rstudio/renv#1184 is resolved
We are also experiencing this issue. I have tested the workaround locally and found that it indeed solves the issue. I am currently running a (not small) integration test to make sure it works remotely: https://github.com/zkamvar/workbench-integration-test/actions/runs/4598105565/jobs/8124053218 |
Thanks for the bug report! This should be fixed up now. |
To confirm: one solution for this is to install {BiocManager} before running |
Yes indeed, that effectively works around the issue. |
In a project where no bioconductor packages have been installed yet, I attempt to install one:
Note that renv seems to realize that it needs to first install BiocManager (and does so successfully) but then errors out and claims that the package of interest is not available. However, if I then try again, it succeeds:
Expected behavior: This works on the first try
Observed behavior: It errors out on the first try, as above
Workaround: Just run it twice (or explicitly initialize the project with bioconductor)
Vaguely relatedly, it would be nice if this vignette also explained the
renv::install("bioc::[package]")
syntax--had to google around a bit to figure that out.The text was updated successfully, but these errors were encountered: