-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Setup Package fail #74
Comments
After some frantic fiddling around (the lesson starts tomorrow), I managed to find a workaround, by forking the carpentries/actions and commenting out the call to https://github.com/lguy/carpentries-actions/blob/main/setup-lesson-deps/action.yaml#L81
That temporarily solved the issue: |
Fixes Setup Package fail carpentries#74 See also r-lib/remotes@e199c1b
Encountering the same issue here: https://github.com/LearnToDiscover/Basic_Python/actions/runs/5051687090/jobs/9063779599#step:9:203 The issue seems to be caused by RStudio/Posit changing its URLs to the new Posit name. It seems to have just been fixed in |
Can confirm that updating the URLs ( |
Fixes Setup Package fail carpentries#74 See also r-lib/remotes@e199c1b (cherry picked from commit 7dd3bdd)
Set `"RSPM_ROOT"` env variable Fixes Setup Package fail carpentries#74 See also r-lib/remotes@e199c1b (cherry picked from commit 7dd3bdd) Fix posit url Co-authored-by: Toby Hodges <[email protected]> Empty commit to verify Fix Posit URLs
Thanks @milanmlft @tobyhodges and @froggleston for a swift solution! I can also confirm that my lesson now compiles correctly when calling carptentries/actions. |
Thank you @lguy for reporting this issue, for @milanmlft for finding a solution, and @tobyhodges and @froggleston for implementing the fix and interpreting my implied contributing guidelines 😅 |
* Use my custom sandpaper version * Set up Python if required * Fix typo * Forgot to define `wd` * Make sure `py-version` is exported * Fix typo * Load renv profile before checking Python version * Need to write `"py-version"` to the proper file * Revert 3532acf * Update rstudio URLs to Posit * Set `"RSPM_ROOT"` env variable Fixes Setup Package fail carpentries#74 See also r-lib/remotes@e199c1b
Just a little update, It turned out there was one more thing that needed to be updated in the workflows, in that the We will eventually move away from the {remotes} package in favour of {pak} as it will be better supported going forward, but the last time we attempted it, {pak} would take up to 10 minutes to bootstrap before downloading packages, so development of this would take some time. |
Hi there,
I really like the Workbench and am very thankful for all the work done around facilitating learning coding. I've used your template to build my own lecture, but am running into issues. I'm not 100% familiar with the inner workings of the Workbench, so please bear with me.
My lecture is available here: https://github.com/lguy/course-microbial-genomics
When pushing the last two commits, I've got errors while building the website: https://github.com/lguy/course-microbial-genomics/actions/runs/5049823304/jobs/9059765686
(see also log copied below).
As far as I can tell, it happens during the Setup Package Cache part:
.github/workflows/sandpaper-main.yaml
This, as far as I can tell, is using the following action of the carpentries:
https://github.com/carpentries/actions/blob/main/setup-lesson-deps/action.yaml
I believe that in that file, the address of the RSPM:
https://github.com/carpentries/actions/blob/646f8b8801847f832091d5abd2ff64e31792f2f4/setup-lesson-deps/action.yaml#LL35C4-L35C4
which in my log translates to "https://packagemanager.posit.co/cran/__linux__/jammy/latest", which returns an error message:
Invalid request, you can test this source by navigating to: /cran/latest/src/contrib/PACKAGES
I believe this might be related to the following issue:
r-lib/remotes#494
That's about where my understanding of the error stops. Can you help me? I'd be happy to provide more details if need be.
Best regards,
Lionel
The text was updated successfully, but these errors were encountered: