Skip to content

Commit b16d4ab

Browse files
GA: more harmonization toward {usethis}
1 parent 95d16b8 commit b16d4ab

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

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

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
config:
15-
- { os: windows-latest, r: '3.5'}
16-
- { os: windows-latest, r: '3.6'}
17-
- { os: windows-latest, r: '4.0'}
18-
- { os: windows-latest, r: 'devel'}
19-
- { os: macOS-latest, r: '3.5'}
20-
- { os: macOS-latest, r: '3.6'}
21-
- { os: macOS-latest, r: '4.0'}
22-
- { os: macOS-latest, r: 'devel'}
23-
- { os: ubuntu-16.04, r: '3.4', cran: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"}
24-
- { os: ubuntu-16.04, r: '3.5', cran: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"}
25-
- { os: ubuntu-16.04, r: '3.6', cran: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"}
26-
- { os: ubuntu-16.04, r: '4.0', cran: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"}
15+
- { os: windows-latest, r: '3.5'}
16+
- { os: windows-latest, r: '3.6'}
17+
- { os: windows-latest, r: '4.0'}
18+
- { os: windows-latest, r: 'devel'}
19+
- { os: macOS-latest, r: '3.5'}
20+
- { os: macOS-latest, r: '3.6'}
21+
- { os: macOS-latest, r: '4.0'}
22+
- { os: macOS-latest, r: 'devel'}
23+
- { os: ubuntu-16.04, r: '3.4', cran: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"}
24+
- { os: ubuntu-16.04, r: '3.5', cran: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"}
25+
- { os: ubuntu-16.04, r: '3.6', cran: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"}
26+
- { os: ubuntu-16.04, r: '4.0', cran: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"}
2727

2828
env:
2929
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
@@ -41,8 +41,9 @@ jobs:
4141

4242
- name: Query dependencies
4343
run: |
44-
install.packages("remotes")
44+
install.packages('remotes')
4545
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
46+
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
4647
shell: Rscript {0}
4748

4849
- name: Cache R packages
@@ -69,6 +70,13 @@ jobs:
6970
install.packages("progressr") ## 'self' vignette engine
7071
shell: Rscript {0}
7172

73+
- name: Session info
74+
run: |
75+
options(width = 100)
76+
pkgs <- installed.packages()[, "Package"]
77+
sessioninfo::session_info(pkgs, include_base = TRUE)
78+
shell: Rscript {0}
79+
7280
- name: Check
7381
run: rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
7482
shell: Rscript {0}

0 commit comments

Comments
 (0)