-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathdevcontainer.json
49 lines (47 loc) · 1.34 KB
/
devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "R (rocker/tidyverse)",
"image": "ghcr.io/rocker-org/devcontainer/tidyverse:4.3",
"features": {
"ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {},
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
"packages": "make,gcc,g++,cmake,clang-tidy,clang-format"
},
"ghcr.io/rocker-org/devcontainer-features/r-packages:1": {
"packages": "cli,rlang,ggplot2,scales,covr",
"installSystemRequirements": true
}
},
"customizations": {
"vscode": {
"settings": {
"r.rterm.linux": "/usr/local/bin/radian",
"r.bracketedPaste": true,
"r.plot.useHttpgd": true,
"[r]": {
"editor.wordSeparators": "`~!@#%$^&*()-=+[{]}\\|;:'\",<>/?"
}
},
"extensions":[
"GitHub.codespaces",
"hbenl.vscode-test-explorer",
"reditorsupport.r",
"rdebugger.r-debugger",
"ms-vsliveshare.vsliveshare",
"mathematic.vscode-pdf"
]
}
},
"forwardPorts": [8787],
"portsAttributes": {
"8787": {
"label": "Rstudio",
"requireLocalPort": true,
"onAutoForward": "ignore"
}
},
// "updateContentCommand": "python3 -m pip install -r requirements.txt",
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "Rscript .devcontainer/install.R",
"postAttachCommand": "sudo rstudio-server start",
"remoteUser": "rstudio"
}