diff --git a/devcontainer.json b/devcontainer.json index 313fc4c..52db3f2 100644 --- a/devcontainer.json +++ b/devcontainer.json @@ -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": [ diff --git a/postCreateCommand.sh b/postCreateCommand.sh index 768aec2..9023152 100644 --- a/postCreateCommand.sh +++ b/postCreateCommand.sh @@ -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"))'