Skip to content

Commit 16d815e

Browse files
also test old releases
1 parent 2b9541c commit 16d815e

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

.github/workflows/check-standard.yaml renamed to .github/workflows/R-CMD-check.yaml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,20 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
config:
21+
- {os: macOS-latest, r: 'devel'}
22+
- {os: macOS-latest, r: 'release'}
2123
- {os: windows-latest, r: 'release'}
22-
- {os: macOS-latest, r: 'release'}
23-
- {os: macOS-latest, r: 'devel'}
24-
- {os: ubuntu-16.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
24+
- {os: windows-latest, r: '3.6'}
25+
- {os: ubuntu-16.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
26+
- {os: ubuntu-16.04, r: 'oldrel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
27+
- {os: ubuntu-16.04, r: '3.5', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
28+
- {os: ubuntu-16.04, r: '3.4', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
29+
- {os: ubuntu-16.04, r: '3.3', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
2530

2631
env:
2732
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
2833
RSPM: ${{ matrix.config.rspm }}
34+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2935

3036
steps:
3137
- uses: actions/checkout@v2
@@ -66,12 +72,24 @@ jobs:
6672
remotes::install_cran("rcmdcheck")
6773
shell: Rscript {0}
6874

75+
- name: Session info
76+
run: |
77+
options(width = 100)
78+
pkgs <- installed.packages()[, "Package"]
79+
sessioninfo::session_info(pkgs, include_base = TRUE)
80+
shell: Rscript {0}
81+
6982
- name: Check
7083
env:
71-
_R_CHECK_CRAN_INCOMING_REMOTE_: false
84+
_R_CHECK_CRAN_INCOMING_: false
7285
run: rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
7386
shell: Rscript {0}
7487

88+
- name: Show testthat output
89+
if: always()
90+
run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true
91+
shell: bash
92+
7593
- name: Upload check results
7694
if: failure()
7795
uses: actions/upload-artifact@master

inst/WORDLIST

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ md
8888
Müller
8989
mutli
9090
NUM
91+
oldrel
9192
os
9293
ourself
9394
packagemanager
@@ -98,6 +99,7 @@ parsesum
9899
pgkdown
99100
pkgapi
100101
pkgdown
102+
pkgs
101103
pos
102104
pre
103105
precommit
@@ -149,6 +151,7 @@ saamwerk
149151
saveRDS
150152
seealso
151153
sep
154+
sessioninfo
152155
setdiff
153156
setenv
154157
sprintf

0 commit comments

Comments
 (0)