Skip to content

Commit 3bce610

Browse files
committed
Deps
1 parent 2b9ca87 commit 3bce610

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,8 @@ jobs:
5656
http-user-agent: ${{ matrix.config.http-user-agent }}
5757
use-public-rspm: true
5858

59-
- name: Cache R
60-
if: matrix.config.os == 'windows-11-arm'
61-
id: cache-r
62-
uses: actions/cache@v4
63-
with:
64-
path: |
65-
C:/Program Files/R-aarch64/R-4.5.0
66-
C:/rtools45-aarch64
67-
key: winarm64-r
68-
save-always: true
69-
7059
- name: Install R & RTools (ARM64)
71-
if: matrix.config.os == 'windows-11-arm' && steps.cache-r.outputs.cache-hit != 'true'
60+
if: matrix.config.os == 'windows-11-arm'
7261
run: |
7362
$url = "https://www.r-project.org/nosvn/winutf8/aarch64/R-4-signed/R-4.5.0-aarch64.exe"
7463
Invoke-WebRequest `
@@ -85,9 +74,6 @@ jobs:
8574
-FilePath "rtools45-aarch64.exe" `
8675
-ArgumentList "/INSTALL /VERYSILENT /SUPPRESSMSGBOXES" -Wait
8776
88-
- name: Add R & RTools to Path (ARM64)
89-
if: matrix.config.os == 'windows-11-arm' && steps.cache-r.outputs.cache-hit != 'true'
90-
run: |
9177
echo "C:/rtools45-aarch64/usr/bin;C:/rtools45-aarch64/aarch64-w64-mingw32.static.posix/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
9278
echo "C:\Program Files\R-aarch64\R-4.5.0\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
9379
@@ -97,7 +83,7 @@ jobs:
9783
install.packages(c("tinytest", "knitr", "rmarkdown", "rcmdcheck"),
9884
repos = c(CRAN = "https://cloud.r-project.org"),
9985
Ncpus = 4);
100-
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), check_dir = "check")
86+
# rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), check_dir = "check")
10187
shell: Rscript {0}
10288

10389
# - name: Install dependencies & Check Package (ARM64)
@@ -113,7 +99,7 @@ jobs:
11399
# any::rcmdcheck
114100
# needs: check
115101
#
116-
# - uses: r-lib/actions/check-r-package@v2
117-
# with:
118-
# upload-snapshots: true
119-
# check-dir: '"check"'
102+
- uses: r-lib/actions/check-r-package@v2
103+
with:
104+
upload-snapshots: true
105+
check-dir: '"check"'

0 commit comments

Comments
 (0)