Github codespace inside ropensci repos

Dear all,

I’m reaching out with a question regarding the use of ropensci repositories on GitHub Codespace. Recently, I encountered an issue while debugging one of my R packages, osmextract (see details here). This required building GDAL 3.10 from source, which I’m not very experienced with, so I used the sf package’s Dockerfile as a base in GitHub Codespace.

To replicate this environment, I added a simplified version of the sf Dockerfile to the .devcontainer folder in my ropensci/osmextract repository (see here). However, I noticed that the GitHub Codespace build process seems to ignore this custom Dockerfile for reasons I can’t figure out. Interestingly, this issue doesn’t occur when I use a repository in my personal account (example here).

Are there any known restrictions on using custom Dockerfiles in ropensci repositories on GitHub Codespace? I’d be grateful for any insights or suggestions.

Thank you in advance, and I’m happy to provide further details if needed.

Best regards,
Andrea

1 Like

:wave: @agila5 sorry we missed this!

I’ve just increased your access rights through the ropensci/osmextract team to “admin” and removed your directed access, as maybe that could help? (In the end it means you still have admin access but in a tidier way)

Thanks @maelle for your answer.

Unfortunately that didn’t help, and it still looks like the creation process ignores my .devcontainer file (which is recognised when I create a codespace inside a personal repository). Maybe I should ask this question to GH people? Do you have any suggestion?

Thanks again
Andrea

Ah too bad. Several of us on the team read this conversation but none of us has any further idea, so yes contacting GitHub sounds like a good idea. Please tell us what you learn, and how we can help! Good luck!