|
26 | 26 | - {os: windows-latest, r: 'devel'} |
27 | 27 | - {os: macOS-latest, r: 'release'} |
28 | 28 | - {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} |
29 | | - - {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} |
| 29 | + - {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest", http-user-agent: "R/4.1.0 (ubuntu-20.04) R (4.1.0 x86_64-pc-linux-gnu x86_64 linux-gnu) on GitHub Actions" } |
30 | 30 |
|
31 | 31 | env: |
32 | 32 | R_REMOTES_NO_ERRORS_FROM_WARNINGS: true |
|
49 | 49 | writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version") |
50 | 50 | shell: Rscript {0} |
51 | 51 |
|
52 | | - - name: Cache R packages |
53 | | - if: runner.os != 'Windows' |
| 52 | + - name: Restore R package cache |
54 | 53 | uses: actions/cache@v2 |
55 | 54 | with: |
56 | 55 | path: ${{ env.R_LIBS_USER }} |
|
76 | 75 | _R_CHECK_CRAN_INCOMING_REMOTE_: false |
77 | 76 | run: | |
78 | 77 | options(crayon.enabled = TRUE) |
79 | | - rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check") |
| 78 | + args <- if (.Platform$OS.type == "windows" & R.version$status == "devel") { |
| 79 | + c("--no-manual", "--as-cran", "--no-multiarch") |
| 80 | + } else { |
| 81 | + c("--no-manual", "--as-cran") |
| 82 | + } |
| 83 | + rcmdcheck::rcmdcheck(args = args, error_on = "warning", check_dir = "check") |
80 | 84 | shell: Rscript {0} |
81 | 85 |
|
82 | 86 | - name: Upload check results |
|
0 commit comments