geocompx / geocompr

Geocomputation with R: an open source book

Home Page:https://r.geocompx.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add devcontainer

Robinlovelace opened this issue · comments

As described here, can support development inside our Docker container: https://code.visualstudio.com/docs/remote/containers

After adding a devcontainer and opening the folder with Code, you get the option to open the project inside the devcontainer:

image

It is currently downloading the right Docker container I think.

We need languageserver for the R package to work, plan to add it to Suggests in geocompkg: https://cran.r-project.org/web/packages/languageserver/index.html

Update: I've reproduced the entire book in the devcontainer. It works!

image

👍🏻