diff --git a/example_proj/my_packages_to_install.csv b/example_proj/my_packages_to_install.csv
index 9b60e0aa8985400b189e2b5fccb293a054fa985d..e381d71b331cbfb2e6339c5ef1a9d8fb3d557070 100644
--- a/example_proj/my_packages_to_install.csv
+++ b/example_proj/my_packages_to_install.csv
@@ -1,3 +1,2 @@
-Package_name;Deposit_name
-shiny;cran
-shinythemes;cran
+shiny
+shinythemes
diff --git a/scripts/install_r_packages.R b/scripts/install_r_packages.R
index eb01a94f8c1038c783002e939079c5c55a87e24a..32a9cc57d97853da2fb79dff67f94543122dd44b 100644
--- a/scripts/install_r_packages.R
+++ b/scripts/install_r_packages.R
@@ -1,23 +1,14 @@
-### Name : script_install_r_packages.R
-### Folder : /home/echapeau/Languages/rshiny/in_docker_image/first_app/scripts_R
-### Date : 20/03/2023
-### Aim : Install all packages from CRAN and BioConductor, requiered in the Shiny app.
-
-
-#### Load file with the list of packages and the name of the deposit
-packages_list <- read.csv(file = "/opt/scripts/packages_to_install.csv", header = TRUE, sep = ";", stringsAsFactors = FALSE )
-
-### CRAN Packages
-cran_pkgs <- packages_list[which(packages_list$Deposit_name == "cran"),"Package_name"]
-### Bioconductor Packages
-bioconductor_pkgs <- packages_list[which(packages_list$Deposit_name == "bioconductor"),"Package_name"]
-
-
-### Install Packages
-if (length(cran_pkgs) >= 1) {
-  install.packages(cran_pkgs, dependencies = NA)
-}
-if (length(bioconductor_pkgs) >= 1) {
-  requireNamespace("BiocManager")
-  BiocManager::install(bioconductor_pkgs, ask = FALSE)
-}
+#!/usr/bin/env Rscript
+### Name : install_r_packages.R
+### Folder : ~/scripts
+### Date : 17/04/2023
+### Aim : Install all packages from CRAN, BioConductor or github, requiered in the Shiny app.
+
+### Install pak packages first
+install.packages(c("pak","pkgcache","pkgdepends"), dependencies= NA)
+#### Load file with the list of packages
+packages_list <- read.csv(file = "/opt/scripts/packages_to_install.csv", header = FALSE, sep = ";", stringsAsFactors = FALSE)
+### Install packages with dependencies with pak packages
+pak::pkg_install(pkg=packages_list[,1])
+# clean the cache of pak
+pak::cache_clean()
diff --git a/scripts/packages_to_install.csv b/scripts/packages_to_install.csv
index 9b60e0aa8985400b189e2b5fccb293a054fa985d..92b45d1aeac201649a58b38bb0045654e26b6b42 100644
--- a/scripts/packages_to_install.csv
+++ b/scripts/packages_to_install.csv
@@ -1,3 +1,4 @@
-Package_name;Deposit_name
-shiny;cran
-shinythemes;cran
+shiny
+ggplot2
+limma
+tidyverse/tibble