Skip to content

Commit

Permalink
fix(tests.yml): update dependencies install with r-lib action
Browse files Browse the repository at this point in the history
  • Loading branch information
bmascat authored Apr 17, 2024
1 parent 9d68678 commit 4a2872f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: R-CI
name: Tests

on:
push:
Expand All @@ -10,16 +10,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup R
uses: r-lib/actions/setup-r@v2

- name: Install dependencies
run: |
install.packages(c('remotes', 'testthat', 'devtools', 'gridGraphics', 'kableExtra', 'ggpubr', 'cowplot', 'rstatix', 'readxl', 'tidyverse'))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
uses: r-lib/actions/setup-r-dependencies@v2

- name: Run tests
run: |
Expand Down

0 comments on commit 4a2872f

Please sign in to comment.