From 93b8588d8df241db8a8274734eccbd80c6340dfc Mon Sep 17 00:00:00 2001 From: babaolanqiu Date: Sun, 15 Sep 2024 11:04:53 +0000 Subject: [PATCH] chore: Add gittargets package to defaultPackages in .Rprofile --- postCreateCommand.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postCreateCommand.sh b/postCreateCommand.sh index 232116d..c2b5dbd 100644 --- a/postCreateCommand.sh +++ b/postCreateCommand.sh @@ -14,7 +14,7 @@ curl https://gitlab.com/ineo6/hosts/-/raw/master/next-hosts | sudo tee -a /etc/h # use pak to install "rliger,Seurat,qs,targets" Rscript -e 'pak::pkg_install(c("rliger","Seurat","qs","targets","crew", "skimr"))' # add library(tidyverse) and library(qs) to .Rprofile -echo 'options(defaultPackages=c(getOption("defaultPackages"), "tidyverse", "targets", "skimr"))' >>~/.Rprofile +echo 'options(defaultPackages=c(getOption("defaultPackages"), "tidyverse", "targets", "skimr", "gittargets"))' >>~/.Rprofile echo 'options(languageserver.formatting_style = function(options) { style <- styler::tidyverse_style(indent_by = options$tabSize) style$token$force_assignment_op <- NULL