From 5ffaba67517b4f96e849d026c37a15b52641985c Mon Sep 17 00:00:00 2001 From: Julian Pistorius Date: Mon, 1 Apr 2024 21:04:02 +0000 Subject: [PATCH] Add configuration for GitHub Codespaces This will allow editing in VS Code with live preview using Quarto CLI. --- .devcontainer/devcontainer.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..5fd5c60 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -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" + ] + } + } +} \ No newline at end of file