Skip to content

Commit

Permalink
Update r.yml
Browse files Browse the repository at this point in the history
Fixing missing dependencies
  • Loading branch information
PiotrTymoszuk authored Dec 7, 2023
1 parent 531b95d commit 63c9639
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/r.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
strategy:
matrix:
r-version: ['4.1.1']

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Set up R ${{ matrix.r-version }}
Expand All @@ -32,8 +33,13 @@ jobs:
r-version: ${{ matrix.r-version }}
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
install.packages(c("remotes", "rcmdcheck", "BiocManager"))
BiocManager::install("limma")
remotes::install_github("cran/rcompanion")
remotes::install_github("cran/DescTools")
remotes::install_github("PiotrTymoszuk/somKernels")
remotes::install_github("PiotrTymoszuk/clustTools")
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
Expand Down

0 comments on commit 63c9639

Please sign in to comment.