Skip to content

Commit 0c069fe

Browse files
committed
ci: comment out R dependencies setup to improve workflow performance
1 parent 8dcf927 commit 0c069fe

File tree

1 file changed

+20
-12
lines changed

1 file changed

+20
-12
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,26 @@ jobs:
5353
sudo apt-get update -y && sudo apt-get install -y libglpk40
5454
shell: bash
5555

56-
- name: Setup R dependencies
57-
uses: r-lib/actions/setup-r-dependencies@v2
58-
with:
59-
cache-version: 2
60-
extra-packages: |
61-
any::devtools, any::pkgdown, any::plotthis, any::ComplexHeatmap,
62-
any::Seurat, any::concaveman, any::gridGraphics, any::ggVennDiagram,
63-
any::clustree, any::ggwordcloud, any::ggalluvial, any::ggpubr, any::callr,
64-
any::ggforce, any::ggraph, any::ggridges, any::hexbin, any::igraph,
65-
any::scattermore, any::ggupset, any::iNEXT, any::metap, any::tidyprompt,
66-
any::terra, any::GiottoClass, any::GiottoData, any::proxyC, any::metR,
67-
any::hdf5r
56+
# -- This takes too long to run
57+
# - name: Setup R dependencies
58+
# uses: r-lib/actions/setup-r-dependencies@v2
59+
# with:
60+
# cache-version: 2
61+
# extra-packages: |
62+
# any::devtools, any::pkgdown, any::plotthis, any::ComplexHeatmap,
63+
# any::Seurat, any::concaveman, any::gridGraphics, any::ggVennDiagram,
64+
# any::clustree, any::ggwordcloud, any::ggalluvial, any::ggpubr, any::callr,
65+
# any::ggforce, any::ggraph, any::ggridges, any::hexbin, any::igraph,
66+
# any::scattermore, any::ggupset, any::iNEXT, any::metap, any::tidyprompt,
67+
# any::terra, any::GiottoClass, any::GiottoData, any::proxyC, any::metR,
68+
# any::hdf5r
69+
- name: Install pak
70+
run: |
71+
install.packages("pak")
72+
73+
- name: Install R package dependencies
74+
run: |
75+
pak::pkg_install(".", dependencies = TRUE)
6876
6977
- uses: r-lib/actions/check-r-package@v2
7078
env:

0 commit comments

Comments
 (0)