Skip to content

Commit a3e2d6b

Browse files
committed
fix github workflow issues
1 parent 570639c commit a3e2d6b

File tree

2 files changed

+40
-29
lines changed

2 files changed

+40
-29
lines changed

.github/workflows/r.yml

Lines changed: 37 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,48 @@
1-
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by
3-
# separate terms of service, privacy policy, and support
4-
# documentation.
5-
#
6-
# See https://github.com/r-lib/actions/tree/master/examples#readme for
7-
# additional example workflows available for the R community.
8-
9-
name: R
1+
name: R-CMD-check
102

113
on:
124
push:
13-
branches: [ master ]
5+
branches: [ master, main ]
146
pull_request:
15-
branches: [ master ]
7+
branches: [ master, main ]
168

179
jobs:
18-
build:
19-
runs-on: macos-latest
10+
R-CMD-check:
11+
runs-on: ${{ matrix.config.os }}
12+
13+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
14+
2015
strategy:
16+
fail-fast: false
2117
matrix:
22-
r-version: ['3.6.3', '4.1.1']
18+
config:
19+
- {os: macos-latest, r: 'release'}
20+
- {os: windows-latest, r: 'release'}
21+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
22+
- {os: ubuntu-latest, r: 'release'}
23+
- {os: ubuntu-latest, r: 'oldrel-1'}
24+
25+
env:
26+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
27+
R_KEEP_PKG_SOURCE: yes
2328

2429
steps:
25-
- uses: actions/checkout@v2
26-
- name: Set up R ${{ matrix.r-version }}
27-
uses: r-lib/actions/setup-r@f57f1301a053485946083d7a45022b278929a78a
30+
- uses: actions/checkout@v4
31+
32+
- uses: r-lib/actions/setup-pandoc@v2
33+
34+
- uses: r-lib/actions/setup-r@v2
35+
with:
36+
r-version: ${{ matrix.config.r }}
37+
http-user-agent: ${{ matrix.config.http-user-agent }}
38+
use-public-rspm: true
39+
40+
- uses: r-lib/actions/setup-r-dependencies@v2
41+
with:
42+
extra-packages: any::rcmdcheck
43+
needs: check
44+
45+
- uses: r-lib/actions/check-r-package@v2
2846
with:
29-
r-version: ${{ matrix.r-version }}
30-
- name: Install dependencies
31-
run: |
32-
install.packages(c("remotes", "rcmdcheck"))
33-
remotes::install_deps(dependencies = TRUE)
34-
shell: Rscript {0}
35-
- name: Check
36-
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
37-
shell: Rscript {0}
47+
upload-snapshots: true
48+
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

CRAN-SUBMISSION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Version: 0.2.1
2-
Date: 2022-01-15 06:19:56 UTC
3-
SHA: c651bf28378dedaa2fc774bd1e86cc300240047b
1+
Version: 0.3.0
2+
Date: 2025-09-12 15:13:28 UTC
3+
SHA: 570639c62d2ed1413ff40d27f506e7768acb08cb

0 commit comments

Comments
 (0)