-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
R Lessons: document how to run update_cache() when there is a package conflict #40
Comments
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 |
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: carpentries/workbench-template-rmd#31The text was updated successfully, but these errors were encountered: