Open RicCampbell opened 3 months ago
I'm not sure why it's falling to restore the renv in the build and deploy action.
Could you try making another small change and pushing to trigger the build again?
Hi @RicCampbell I'm now seeing the same error for this action for a repo that I created from the workbench-rmd template so it's definitely not a problem with anything you have done. I will investigate further and let you know.
FYI this has happened before, I think it just resolved naturally. It's too deep in R land for me to understand the cause.
I managed to fix my repo with a patch that pulled in proposed changes to the renv from this PR (which has now been merged) on the template repo: https://github.com/carpentries/workbench-template-rmd/pull/63
Other than just waiting for a natural resolution, I'm wondering what the best way to get this fixed up for @RicCampbell. Applying the update_packages.patch.txt that I used is probably the best option since trying to merge from the main branch of the template repo will cause conflicts.
@RicCampbell could you download and save the file that I linked (without opening in Notepad!) then navigate on the command line to the main working directory for your repo and try the following:
git apply --index path/to/update_packages.patch.txt
git add -u
git commit -m "Update renv"
git push
:crossed_fingers:
Ah glad to know it's nothing I've done! I tried a small commit and push, no luck I think. Have done the patch, and I think this has worked! Little green tick of success is there! Thanks all, hopefully this is the last issue I run into.
Just as an extra @katefoneill also had this problem, but the patch seems to have worked there as well.
Hello, Not done anything else since last worked, made some small changes, added an episode, only other thing was I think it requested a RMarkdown update when creating a new RMarkdown file.
Site build failed under; Setup Package Cache
should be viewable from repo https://github.com/RicCampbell/FAIR4RS_repos_dois
Cheers,
Ric