if (!loadNamespace("pak")) {install.packages("pak")message("Installed pak.")}message("Start installing all packages.")pkgs <-c("languageserver","jsonlite","lintr","styler","cyclocomp","usethis")pak::pkg_install(pkgs)message("Installed all packages.")
Add VS Code to path, MacOS: command + shift + p -> “Shell Command: Install ‘code’ command in PATH”. This way you can use code ${directory} in the terminal to open that directory in VS Code.
[OPTIONAL] Duplicate the Gaiti Lab profile, and rename as you wish, so you can further customize it. Duplicate by clicking the 3 horizontal dots
Change paths accordingly in VS Code’s settings.json (MacOS: command + shift + p -> “Preferences: Open User Settings (JSON)”), see first JSON snippet below.
The extension “TODO tree” uses ripgrep, if you need to install it, follow ripgrep.dev/download
7. [OPTIONAL] By default the GaitiLab profile uses Fira Code as font, which can be downloaded here: [github.com/tonsky/firacode](https://github.com/tonsky/firacode) if you don't want to use this, reset/remove these settings.