Open zkamvar opened 1 year ago
Note: I believe this is ONLY a problem when creating a lesson from an outdated template. I do not believe this is a problem for existing lessons
Hi, I get the same error status, but updating the cache did not resolve it in my case. I created the lesson from the template in Dec22. Do you have any other ideas, except transferring the episodes to a new repository?
Hi Sarah,
Thank you for reporting this and I'm sorry for the trouble. I will take a look at your lesson (https://github.com/sarahkaspar/biostatistics-course) today and see what I can do to help.
One thing I see is that you have a renv folder inside of the episodes/ directory that I think might be interfering with the process: https://github.com/sarahkaspar/biostatistics-course/tree/main/episodes/renv. (edit: this episodes/renv
folder is caused by a bug in sandpaper: https://github.com/carpentries/sandpaper/issues/391)
Thank you for your help Zhian!
No problem! Thank you again for reporting on the issue! I cannot stress enough how much finding these little bugs will help so many people down the line.
I recently ran into this fun thing, I am trying to make the release for the beta phase repositories and I was trying to build the R Raster lesson and ran into this fun error status when resolving the dependencies:
Cause of the problem
The cause was due to an update in a package (dplyr and tidyr) requiring a new version of a dependency and, what I am assuming is, a race condition for updating the dependencies from the cache.
Solution
The solution is to update the cache before running the manage dependencies, which is achieved either through
sandpaper::update_cache()
or manually running the 03 Maintain: Update Cache workflow as shown here: https://github.com/carpentries/workbench-template-rmd/pull/31