Skip to content

Commit

Permalink
fixing windows not passing
Browse files Browse the repository at this point in the history
  • Loading branch information
RayStick committed Nov 22, 2024
1 parent f9e089d commit d9eb841
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,17 @@ jobs:
extra-packages: any::rcmdcheck
needs: check

- name: Check R package
- name: Check R package (macOS and Linux)
if: matrix.config.os != 'windows-latest'
run: |
R CMD check --no-manual --as-cran > check.log 2>&1 || true
grep -q -E "WARNING" check.log && exit 1 || true
cat check.log
grep -q -E "WARNING" check.log && exit 1 || true
- name: Check R package (Windows)
if: matrix.config.os == 'windows-latest'
shell: cmd
run: |
R CMD check --no-manual --as-cran > check.log 2>&1 || true
type check.log
findstr /i "WARNING" check.log && exit 1 || true

0 comments on commit d9eb841

Please sign in to comment.