From 1c105155478b7a47e1947dd72599476019b357c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alba=20Refoyo=20Mart=C3=ADnez?= <44649699+albarema@users.noreply.github.com> Date: Fri, 20 Dec 2024 13:21:14 +0100 Subject: [PATCH] test makevars v2 --- .github/workflows/render_page.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/render_page.yml b/.github/workflows/render_page.yml index f8aab8a..d1fa664 100644 --- a/.github/workflows/render_page.yml +++ b/.github/workflows/render_page.yml @@ -51,8 +51,10 @@ jobs: - name: installations run: | - echo "CXX=g++-11" >> $(Rscript -e 'cat(renv::paths$library())')/Makevars && \ - echo "CXXFLAGS=-std=c++14" >> $(Rscript -e 'cat(renv::paths$library())')/Makevars && \ + RENV_LIBRARY_PATH=$(Rscript -e 'cat(renv::paths$library())') + # Ensure renv Makevars exists and add the flags + echo "CXX=g++-11" >> "$RENV_LIBRARY_PATH/Makevars" + echo "CXXFLAGS=-std=c++14" >> "$RENV_LIBRARY_PATH/Makevars" R -e 'install.packages(c("devtools","BiocManager", "tidyverse", "RColorBrewer", "pheatmap", "ggrepel", "cowplot"))' R -e 'BiocManager::install("fgsea") R -e 'devtools::install_github("stephenturner/annotables")'