Skip to content

Commit e34276b

Browse files
authored
Update r-cmd-check.yml
Stil trying to fix the flag issue
1 parent c4af9f4 commit e34276b

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.github/workflows/r-cmd-check.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on: [push, pull_request]
55
jobs:
66
check:
77
runs-on: ${{ matrix.os }}
8-
98
strategy:
109
fail-fast: false
1110
matrix:
@@ -19,34 +18,29 @@ jobs:
1918
- {os: windows-latest, r: release}
2019
- {os: windows-latest, r: oldrel }
2120

22-
# macOS (Intel and Apple Silicon)
23-
- {os: macos-latest , r: release} # Intel
24-
- {os: macos-14 , r: release} # Apple Silicon
21+
# macOS (Intel + Apple Silicon)
22+
- {os: macos-latest , r: release}
23+
- {os: macos-14 , r: release}
2524

2625
env:
2726
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2827
TZ: UTC
2928
_R_CHECK_CRAN_INCOMING_REMOTE_: false
3029

3130
steps:
32-
# Checkout (updated to the current major tag)
33-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v4 # 4.2.2
3432

35-
# R (auto-installs Rtools on Windows)
3633
- uses: r-lib/actions/setup-r@v2
3734
with:
3835
r-version: ${{ matrix.r }}
3936

40-
# Java for rJava / openNLP
4137
- uses: actions/setup-java@v4
4238
with:
4339
distribution: temurin
4440
java-version: '21'
4541

46-
# TinyTeX (cross-platform LaTeX)
4742
- uses: r-lib/actions/setup-tinytex@v2
4843

49-
# Extra system libs on Linux
5044
- name: Install Linux system libraries
5145
if: runner.os == 'Linux'
5246
run: |
@@ -56,20 +50,14 @@ jobs:
5650
libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev \
5751
libtiff5-dev libjpeg-dev libfontconfig1-dev
5852
59-
# Install DESCRIPTION dependencies (cached)
6053
- uses: r-lib/actions/setup-r-dependencies@v2
6154
with:
6255
extra-packages: rcmdcheck
6356
needs: rJava
6457

65-
# Build + check
58+
# ---- no args: line — defaults to c("--no-manual","--as-cran") ----
6659
- uses: r-lib/actions/check-r-package@v2
67-
with:
68-
args: |
69-
--no-manual
70-
--as-cran
7160

72-
# Save logs and tarball
7361
- name: Upload check artefacts
7462
if: always()
7563
uses: actions/upload-artifact@v4
@@ -79,3 +67,4 @@ jobs:
7967
*.tar.gz
8068
check/**
8169
if-no-files-found: ignore
70+

0 commit comments

Comments
 (0)