Skip to content

Commit

Permalink
test Makevars c++14
Browse files Browse the repository at this point in the history
  • Loading branch information
albarema authored Dec 20, 2024
1 parent 2098a88 commit 9bb234a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/render_page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,15 @@ jobs:

# - name: Install R Dependencies
# uses: r-lib/actions/setup-renv@v2
- name: Set C++14 flags for renv Makevars
run: |
# Ensure renv library exists and set the correct Makevars for renv
RENV_MAKEVARS_PATH=$(Rscript -e 'cat(renv::paths$library())')/Makevars
mkdir -p "$(dirname "$RENV_MAKEVARS_PATH")"
echo "CXX=g++-11" >> "$RENV_MAKEVARS_PATH"
echo "CXXFLAGS=-std=c++14" >> "$RENV_MAKEVARS_PATH"

- 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 && \
R -e 'install.packages(c("devtools","BiocManager", "tidyverse", "RColorBrewer", "pheatmap", "ggrepel", "cowplot"))'
R -e 'BiocManager::install("fgsea")
R -e 'devtools::install_github("stephenturner/annotables")'
R -e 'BiocManager::install(c("DESeq2", "clusterProfiler", "fgsea", "DOSE", "org.Hs.eg.db", "pathview", "DEGreport", "tximport", "AnnotationHub", "ensembldb","apeglm","ggnewscale"))'
R -e 'BiocManager::install(c("DESeq2", "clusterProfiler", "DOSE", "org.Hs.eg.db", "pathview", "DEGreport", "tximport", "AnnotationHub", "ensembldb","apeglm","ggnewscale"))'
R -e 'install.packages(c("rmarkdown", "markdown", "knitr"))'
env:
GITHUB_PAT: ${{ secrets.TOKEN }}
Expand Down

0 comments on commit 9bb234a

Please sign in to comment.