actions
actions copied to clipboard
setup-renv@v2 hangs after installing renv
Describe the bug
I have a simple workflow that just installs R (via r-lib/actions/setup-r@v2
), and then installs and restores packages with renv
(using r-lib/actions/setup-renv@v2
), nothing else. When the job ran, I noticed it hanged right after installing renv
(after 10 minutes I cancelled):
To Reproduce The repository is private, so I am not sure how to best share the logs.
Raw logs (link): https://pipelines.actions.githubusercontent.com/serviceHosts/b39b932a-b199-4b56-8f66-3cc41a3e01cd/_apis/pipelines/1/runs/3/signedlogcontent/2?urlExpires=2022-09-09T20%3A18%3A01.8405684Z&urlSigningMethod=HMACV1&urlSignature=%2FMF1L5nu7U9jDPsrfijNfNh%2F5VobuHLoD2MHTjwzHE0%3D
Raw logs (gist): https://gist.github.com/gui-salome/6f49edbc3848b4518f49511d38733fe3
Expected behavior
renv
installation completes.
Relates to: https://github.com/rstudio/renv/issues/1071
I left the process running, and after 45 minutes I got this error:
I'm still facing the same issue.
In the renv.lock
file I have the following definitions for repositories:
The problem seems to be connected to
renv
not being able to connect to the "artifactory" repositories (having to wait 40 minutes for that error message is definitely weird).
I removed all of those repositories and reverted CRAN to the usual place:
In this case, the installation goes through and
renv
is able to restore the other packages.
This is an issue with those Bioconductor repositories. You can probably get help from Bioconductor about this if you still have this issue.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue