@@ -29,17 +29,16 @@ jobs:
2929 - {os: macOS-latest, r: 'release'}
3030 - {os: windows-latest, r: 'release'}
3131 - {os: windows-latest, r: '3.6'}
32- - {os: ubuntu-18.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}
32+ - {os: ubuntu-18.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest", http-user-agent: "R/4.0.0 (ubuntu-18.04) R (4.0.0 x86_64-pc-linux-gnu x86_64 linux-gnu) on GitHub Actions" }
33+ - {os: ubuntu-16.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
3334 - {os: ubuntu-18.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}
3435 - {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
3536 - {os: ubuntu-18.04, r: 'oldrel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}
3637 - {os: ubuntu-18.04, r: '3.5', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}
3738 - {os: ubuntu-18.04, r: '3.4', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}
3839 - {os: ubuntu-18.04, r: '3.3', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}
39- - {os: ubuntu-16.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
4040
4141 env :
42- R_REMOTES_NO_ERRORS_FROM_WARNINGS : true
4342 RSPM : ${{ matrix.config.rspm }}
4443 GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
4544
@@ -57,19 +56,22 @@ jobs:
5756 - name : Install pak and query dependencies
5857 run : |
5958 install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/")
60- saveRDS(pak::pkg_deps_tree ("local::.", dependencies = TRUE), ".github/r-depends.rds")
59+ saveRDS(pak::pkg_deps ("local::.", dependencies = TRUE), ".github/r-depends.rds")
6160 shell : Rscript {0}
6261
6362 - name : Cache R packages
6463 uses : actions/cache@v2
6564 with :
6665 path : ${{ env.R_LIBS_USER }}
67- key : ${{ matrix.config.os }}-${{ steps.install-r.outputs.installed-r-version }}-2 -${{ hashFiles('.github/r-depends.rds') }}
68- restore-keys : ${{ matrix.config.os }}-${{ steps.install-r.outputs.installed-r-version }}-2 -
66+ key : ${{ matrix.config.os }}-${{ steps.install-r.outputs.installed-r-version }}-1 -${{ hashFiles('.github/r-depends.rds') }}
67+ restore-keys : ${{ matrix.config.os }}-${{ steps.install-r.outputs.installed-r-version }}-1 -
6968
70- - name : Install linux system dependencies
69+ - name : Install system dependencies
7170 if : runner.os == 'Linux'
72- run : Rscript -e 'pak::local_system_requirements(execute = TRUE)'
71+ run : |
72+ pak::local_system_requirements(execute = TRUE)
73+ pak::pkg_system_requirements("rcmdcheck", execute = TRUE)
74+ shell : Rscript {0}
7375
7476 - name : Install macOS system dependencies
7577 if : runner.os == 'macOS'
99101 env :
100102 _R_CHECK_CRAN_INCOMING_ : false
101103 _R_CHECK_FORCE_SUGGESTS_ : ${{ matrix.config.r != '3.3' }}
102- run : rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
104+ run : |
105+ options(crayon.enabled = TRUE)
106+ rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
103107 shell : Rscript {0}
104108
105109 - name : Show testthat output
0 commit comments