Skip to content

Commit

Permalink
CI: don't install SeuratData during setup-r-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ilia-kats committed Sep 11, 2023
1 parent 4b82619 commit 28aea3a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck, any::Seurat, any::SeuratData
extra-packages: any::rcmdcheck, SeuratData=?ignore

- name: Install SeuratData
if: always()
run: Rscript -e "install.packages('remotes', repos = 'http://cran.us.r-project.org'); remotes:::install_github('satijalab/seurat-data')"
shell: bash

- uses: r-lib/actions/check-r-package@v2

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, any::Seurat, local::.
extra-packages: any::pkgdown, local::., SeuratData=?ignore
needs: website

- name: Install SeuratData
if: always()
run: Rscript -e "install.packages('remotes', repos = 'http://cran.us.r-project.org'); remotes:::install_github('satijalab/seurat-data')"
shell: bash

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}
Expand Down

0 comments on commit 28aea3a

Please sign in to comment.