From 2ce3e9a72a9812da3a6816317f2372685c3d0e3e Mon Sep 17 00:00:00 2001 From: "Matthias,Korbinian (MED BDS) BIP-DE-B" Date: Mon, 20 Jan 2025 08:17:04 +0000 Subject: [PATCH] add teal packages to image --- scripts/install_r_pkgs.R | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/scripts/install_r_pkgs.R b/scripts/install_r_pkgs.R index 3ab7875..d3fd09c 100755 --- a/scripts/install_r_pkgs.R +++ b/scripts/install_r_pkgs.R @@ -37,3 +37,20 @@ tinytex::install_tinytex() # Remove DaVinci packages from image grep("^dv.", rownames(installed.packages()), value = TRUE) |> sapply(remove.packages) + + +# Install teal packages +teal_pkgs <- c( + "teal.data", + "teal.modules.clinical", + "teal.modules.general", + "teal.slice", + "teal.transform" + ) + +pak::pak( + pkg = teal_pkgs, + dependencies = TRUE, + ask = FALSE, + upgrade = FALSE +)