Skip to content

Commit

Permalink
updates to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bcallaway11 committed Mar 8, 2024
1 parent 34b34d1 commit 58c776f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/check-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ jobs:
r-version: ${{ matrix.config.r }}
- name: Install dependencies
run: |
install.packages("remotes")
remotes::install_deps(dependencies = TRUE)
Rscript -e "install.packages('remotes')"
Rscript -e "remotes::install_deps(dependencies = TRUE)"
- name: Check
run: |
install.packages("rcmdcheck")
rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error", check_dir = "check")
Rscript -e "install.packages('rcmdcheck')"
Rscript -e "rcmdcheck::rcmdcheck(args = '--no-manual', error_on = 'error', check_dir = 'check')"
- name: Test
run: |
install.packages("testthat")
devtools::test()
Rscript -e "install.packages('testthat')"
Rscript -e "devtools::test()"
- name: Code Coverage
if: matrix.config.os == 'ubuntu-latest' && matrix.config.r == 'release'
run: |
install.packages("covr")
covr::codecov()
Rscript -e "install.packages('covr')"
Rscript -e "covr::codecov()"

0 comments on commit 58c776f

Please sign in to comment.