|
56 | 56 | http-user-agent: ${{ matrix.config.http-user-agent }} |
57 | 57 | use-public-rspm: true |
58 | 58 |
|
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 | | - |
70 | 59 | - 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' |
72 | 61 | run: | |
73 | 62 | $url = "https://www.r-project.org/nosvn/winutf8/aarch64/R-4-signed/R-4.5.0-aarch64.exe" |
74 | 63 | Invoke-WebRequest ` |
|
85 | 74 | -FilePath "rtools45-aarch64.exe" ` |
86 | 75 | -ArgumentList "/INSTALL /VERYSILENT /SUPPRESSMSGBOXES" -Wait |
87 | 76 |
|
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: | |
91 | 77 | echo "C:/rtools45-aarch64/usr/bin;C:/rtools45-aarch64/aarch64-w64-mingw32.static.posix/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 |
92 | 78 | echo "C:\Program Files\R-aarch64\R-4.5.0\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8 |
93 | 79 |
|
|
97 | 83 | install.packages(c("tinytest", "knitr", "rmarkdown", "rcmdcheck"), |
98 | 84 | repos = c(CRAN = "https://cloud.r-project.org"), |
99 | 85 | 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") |
101 | 87 | shell: Rscript {0} |
102 | 88 |
|
103 | 89 | # - name: Install dependencies & Check Package (ARM64) |
|
113 | 99 | # any::rcmdcheck |
114 | 100 | # needs: check |
115 | 101 | # |
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