Skip to content

Commit

Permalink
chore: Update devcontainer configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
h4rvey-g committed Aug 25, 2024
1 parent 9126eab commit e1bee0f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"installRMarkdown": true,
"installVscDebugger": true
},
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
"ghcr.io/h4rvey-g/rocker-devcontainer-features/apt-packages:1": {
"packages": "r-cran-data.table,r-cran-tidyverse",
"upgradePackages": true
},
"ghcr.io/rocker-org/devcontainer-features/miniforge:1": {},
"ghcr.io/rocker-org/devcontainer-features/r-packages:1": {
"rliger,Seurat,qs,targets"
}
// "ghcr.io/rocker-org/devcontainer-features/miniforge:1": {},
// "ghcr.io/rocker-org/devcontainer-features/r-packages:1": {
// "packages": "rliger,Seurat,qs,targets"
// }
},
"shutdownAction": "none",
"overrideFeatureInstallOrder": [
Expand Down
2 changes: 2 additions & 0 deletions postCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ echo 'if (interactive() && Sys.getenv("RSTUDIO") == "") {
echo 'options(defaultPackages=c(getOption("defaultPackages"), "tidyverse", "targets", "qs"' >>~/.Rprofile
# add github hosts
curl https://gitlab.com/ineo6/hosts/-/raw/master/next-hosts | sudo tee -a /etc/hosts
# use pak to install "rliger,Seurat,qs,targets"
Rscript -e 'pak::pkg_install(c("rliger","Seurat","qs","targets","crew"))'

0 comments on commit e1bee0f

Please sign in to comment.