Just a recommendation but its worked for us when we've done geospatial R.
I thought python would be easier but pip and conda are just as cumbersome as dealing with CRAN even with environments.
To mitigate possible install problems, we added a test code to the setup to make sure learners were actually prepared for the workshop. https://ucsbcarpentry.github.io/2022-08-09-ucsb-r-geospatial/ We created an install test with some lines of code to make a mini map utilizing all the packages. And If the map wasn't created at the end, learners would email us for help.
Just a recommendation but its worked for us when we've done geospatial R.
I thought python would be easier but pip and conda are just as cumbersome as dealing with CRAN even with environments. To mitigate possible install problems, we added a test code to the setup to make sure learners were actually prepared for the workshop. https://ucsbcarpentry.github.io/2022-08-09-ucsb-r-geospatial/ We created an install test with some lines of code to make a mini map utilizing all the packages. And If the map wasn't created at the end, learners would email us for help.