actions icon indicating copy to clipboard operation
actions copied to clipboard

setup-renv@v2 hangs after installing renv

Open gui-salome opened this issue 1 year ago • 2 comments

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): Screen Shot 2022-09-02 at 11 37 28 AM

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

gui-salome avatar Sep 09 '22 20:09 gui-salome

I left the process running, and after 45 minutes I got this error: Screen Shot 2022-09-09 at 9 31 19 PM

gui-salome avatar Sep 10 '22 01:09 gui-salome

I'm still facing the same issue. In the renv.lock file I have the following definitions for repositories: Screen Shot 2022-09-14 at 5 22 10 PM 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: Screen Shot 2022-09-14 at 5 23 51 PM In this case, the installation goes through and renv is able to restore the other packages.

gui-salome avatar Sep 14 '22 21:09 gui-salome

This is an issue with those Bioconductor repositories. You can probably get help from Bioconductor about this if you still have this issue.

gaborcsardi avatar Oct 19 '22 12:10 gaborcsardi

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

github-actions[bot] avatar Nov 04 '22 13:11 github-actions[bot]