-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
problem with sf library in R and udunits on deploy #566
Comments
note - here's the site and repo: |
Hi @jebyrnes ! This sounds like one of the dependencies of the SF package itself isn't fulfilled on your system. Could you try installing the required dependencies of sf (specifically in this case Please let me know if you need any more assistance! |
This is actually ON github. It works just fine on my system. I can run |
Ah I see! Apologies, and thanks for the clarification. I'll try to dig into this over the next few days. |
I've been digging around in the action output from your repo, and found an issue with the step that retrieves dependencies for the specific R packages you use: https://github.com/cobalt-casco/r-shiny-geospatial/actions/runs/7535424481/job/20511384858#step:6:252 I'm afraid I'm as yet unaware of where these dependencies are generated from, and I can't see a similar output in the DC r-raster-geospatial lesson for example (which uses a lot of the same dependencies you're pulling in). I'm guessing a typo somewhere, but am finding it tricky to discover where! Update: It looks like it's the |
Final thought - you might need to specify an action to set up chrome specifically for GHA: https://github.com/browser-actions/setup-chrome |
Huh - will look. FYI, if you want to see a recently compiled DC raster lesson, I also forked and heavily modified the regular one for this workshop. No issues compiling the site via GH Actions. https://github.com/cobalt-casco/r-raster-vector-geospatial |
Oh - ok, now fully read your comment - ugh. Webshot no longer works properly, so had to move to webshot2. Will look deeper into setting up chrome. Fortunately, I know the code works locally, so...... and the lesson went over well! |
I'm not entirely sure how we arrive to the strange error in build logs but in case that's helpful, the system requirements ultimately come from https://github.com/rstudio/r-system-requirements/blob/c02f1175b9c137b3ffd999c860b451ea4376992e/rules/chrome.json, via Posit Package Manager. |
I'm trying to build a new lesson. It compiles and looks great locally, and the pages build.... but, anything using the R
sf
library fails, with the following error.I've looked through the files for the r-ras lesson, but cannot find where it would enable udunits being installed. What do I need to include and where to fix this.....
The text was updated successfully, but these errors were encountered: