Skip to content

Commit

Permalink
chore: Add gittargets package to defaultPackages in .Rprofile
Browse files Browse the repository at this point in the history
  • Loading branch information
h4rvey-g committed Sep 15, 2024
1 parent e27a31a commit 93b8588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93b8588

Please sign in to comment.