Skip to content

Commit fec56e2

Browse files
authored
Merge pull request #17 from BerriJ/develop
Release 1.3.3
2 parents c84315d + e8049b5 commit fec56e2

File tree

13 files changed

+1235
-1010
lines changed

13 files changed

+1235
-1010
lines changed

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

Lines changed: 0 additions & 53 deletions
This file was deleted.

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

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/R-hub-PR.yaml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# R-hub's generic GitHub Actions workflow file. It's canonical location is at
2+
# https://github.com/r-hub/actions/blob/v1/workflows/rhub.yaml
3+
# You can update this file to a newer version using the rhub2 package:
4+
#
5+
# rhub::rhub_setup()
6+
#
7+
# It is unlikely that you need to modify this file manually.
8+
on:
9+
pull_request
10+
11+
name: R-hub-PR
12+
13+
jobs:
14+
15+
setup:
16+
runs-on: ubuntu-latest
17+
outputs:
18+
containers: ${{ steps.rhub-setup.outputs.containers }}
19+
platforms: ${{ steps.rhub-setup.outputs.platforms }}
20+
21+
steps:
22+
# NO NEED TO CHECKOUT HERE
23+
- uses: r-hub/actions/setup@v1
24+
with:
25+
config: 'linux, macos, windows, macos-arm64, clang-asan'
26+
id: rhub-setup
27+
28+
linux-containers:
29+
needs: setup
30+
if: ${{ needs.setup.outputs.containers != '[]' }}
31+
runs-on: ubuntu-latest
32+
name: 'R-hub'
33+
strategy:
34+
fail-fast: false
35+
matrix:
36+
config: ${{ fromJson(needs.setup.outputs.containers) }}
37+
container:
38+
image: ${{ matrix.config.container }}
39+
40+
steps:
41+
- uses: actions/checkout@v4
42+
with:
43+
submodules: 'true'
44+
- uses: r-hub/actions/platform-info@v1
45+
with:
46+
token: ${{ secrets.RHUB_TOKEN }}
47+
job-config: ${{ matrix.config.job-config }}
48+
- uses: r-hub/actions/setup-deps@v1
49+
with:
50+
token: ${{ secrets.RHUB_TOKEN }}
51+
job-config: ${{ matrix.config.job-config }}
52+
- uses: r-hub/actions/run-check@v1
53+
with:
54+
token: ${{ secrets.RHUB_TOKEN }}
55+
job-config: ${{ matrix.config.job-config }}
56+
57+
other-platforms:
58+
needs: setup
59+
if: ${{ needs.setup.outputs.platforms != '[]' }}
60+
runs-on: ${{ matrix.config.os }}
61+
name: 'R-hub'
62+
strategy:
63+
fail-fast: false
64+
matrix:
65+
config: ${{ fromJson(needs.setup.outputs.platforms) }}
66+
67+
steps:
68+
- uses: actions/checkout@v4
69+
with:
70+
submodules: 'true'
71+
- uses: r-hub/actions/setup-r@v1
72+
with:
73+
job-config: ${{ matrix.config.job-config }}
74+
token: ${{ secrets.RHUB_TOKEN }}
75+
- uses: r-hub/actions/platform-info@v1
76+
with:
77+
token: ${{ secrets.RHUB_TOKEN }}
78+
job-config: ${{ matrix.config.job-config }}
79+
- uses: r-hub/actions/setup-deps@v1
80+
with:
81+
job-config: ${{ matrix.config.job-config }}
82+
token: ${{ secrets.RHUB_TOKEN }}
83+
- uses: r-hub/actions/run-check@v1
84+
with:
85+
job-config: ${{ matrix.config.job-config }}
86+
token: ${{ secrets.RHUB_TOKEN }}

.github/workflows/R-hub-main.yaml

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# R-hub's generic GitHub Actions workflow file. It's canonical location is at
2+
# https://github.com/r-hub/actions/blob/v1/workflows/rhub.yaml
3+
# You can update this file to a newer version using the rhub2 package:
4+
#
5+
# rhub::rhub_setup()
6+
#
7+
# It is unlikely that you need to modify this file manually.
8+
on:
9+
push:
10+
branches:
11+
- main
12+
schedule:
13+
- cron: '32 4 1 * *'
14+
15+
name: R-hub-main
16+
17+
jobs:
18+
19+
setup:
20+
runs-on: ubuntu-latest
21+
outputs:
22+
containers: ${{ steps.rhub-setup.outputs.containers }}
23+
platforms: ${{ steps.rhub-setup.outputs.platforms }}
24+
25+
steps:
26+
# NO NEED TO CHECKOUT HERE
27+
- uses: r-hub/actions/setup@v1
28+
with:
29+
config: 'linux, macos, windows, macos-arm64, clang-asan'
30+
id: rhub-setup
31+
32+
linux-containers:
33+
needs: setup
34+
if: ${{ needs.setup.outputs.containers != '[]' }}
35+
runs-on: ubuntu-latest
36+
name: 'R-hub'
37+
strategy:
38+
fail-fast: false
39+
matrix:
40+
config: ${{ fromJson(needs.setup.outputs.containers) }}
41+
container:
42+
image: ${{ matrix.config.container }}
43+
44+
steps:
45+
- uses: actions/checkout@v4
46+
with:
47+
submodules: 'true'
48+
- uses: r-hub/actions/platform-info@v1
49+
with:
50+
token: ${{ secrets.RHUB_TOKEN }}
51+
job-config: ${{ matrix.config.job-config }}
52+
- uses: r-hub/actions/setup-deps@v1
53+
with:
54+
token: ${{ secrets.RHUB_TOKEN }}
55+
job-config: ${{ matrix.config.job-config }}
56+
- uses: r-hub/actions/run-check@v1
57+
with:
58+
token: ${{ secrets.RHUB_TOKEN }}
59+
job-config: ${{ matrix.config.job-config }}
60+
61+
other-platforms:
62+
needs: setup
63+
if: ${{ needs.setup.outputs.platforms != '[]' }}
64+
runs-on: ${{ matrix.config.os }}
65+
name: 'R-hub'
66+
strategy:
67+
fail-fast: false
68+
matrix:
69+
config: ${{ fromJson(needs.setup.outputs.platforms) }}
70+
71+
steps:
72+
- uses: actions/checkout@v4
73+
with:
74+
submodules: 'true'
75+
- uses: r-hub/actions/setup-r@v1
76+
with:
77+
job-config: ${{ matrix.config.job-config }}
78+
token: ${{ secrets.RHUB_TOKEN }}
79+
- uses: r-hub/actions/platform-info@v1
80+
with:
81+
token: ${{ secrets.RHUB_TOKEN }}
82+
job-config: ${{ matrix.config.job-config }}
83+
- uses: r-hub/actions/setup-deps@v1
84+
with:
85+
job-config: ${{ matrix.config.job-config }}
86+
token: ${{ secrets.RHUB_TOKEN }}
87+
- uses: r-hub/actions/run-check@v1
88+
with:
89+
job-config: ${{ matrix.config.job-config }}
90+
token: ${{ secrets.RHUB_TOKEN }}

0 commit comments

Comments
 (0)