Skip to content

Commit

Permalink
Add configuration for GitHub Codespaces
Browse files Browse the repository at this point in the history
This will allow editing in VS Code with live preview using Quarto CLI.
  • Loading branch information
julianpistorius committed Apr 1, 2024
1 parent 8f7adb9 commit 5ffaba6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "R (rocker/r-ver base)",
"image": "ghcr.io/rocker-org/devcontainer/r-ver:4",
"features": {
"ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {
"installChromium": true
},
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
"packages": "libudunits2-dev,libxtst6,libxt6,libmagick++-dev,libgtk-3-dev,libnotify-dev,libgconf-2-4,libnss3,libxss1,libasound2"
},
"ghcr.io/rocker-org/devcontainer-features/r-packages:1": {
"packages": "github::rstudio/renv,tidyverse,here,httpgd"
}
},
"customizations": {
"vscode": {
"extensions": [
"mechatroner.rainbow-csv",
"quarto.quarto"
]
},
"codespaces": {
"openFiles": [
"index.qmd",
"resbaz/resbazTucson2024.qmd"
]
}
}
}

0 comments on commit 5ffaba6

Please sign in to comment.