Skip to content

Commit e1027e5

Browse files
committed
readded R CMD test action
1 parent 1e7b228 commit e1027e5

File tree

1 file changed

+55
-55
lines changed

1 file changed

+55
-55
lines changed
Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,55 @@
1-
# # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2-
# # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3-
# on:
4-
# push:
5-
# branches: [main, master]
6-
# pull_request:
7-
# branches: [main, master]
8-
#
9-
# name: R-CMD-check
10-
#
11-
# jobs:
12-
# R-CMD-check:
13-
# runs-on: ${{ matrix.config.os }}
14-
#
15-
# name: ${{ matrix.config.os }} (${{ matrix.config.r }})
16-
#
17-
# strategy:
18-
# fail-fast: false
19-
# matrix:
20-
# config:
21-
# - {os: macos-latest, r: 'release'}
22-
# - {os: windows-latest, r: 'release'}
23-
# - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
24-
# - {os: ubuntu-latest, r: 'release'}
25-
# - {os: ubuntu-latest, r: 'oldrel-1'}
26-
#
27-
# env:
28-
# GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
29-
# R_KEEP_PKG_SOURCE: yes
30-
#
31-
# steps:
32-
# - uses: actions/checkout@v3
33-
#
34-
# - uses: r-lib/actions/setup-pandoc@v2
35-
#
36-
# - uses: r-lib/actions/setup-r@v2
37-
# with:
38-
# r-version: ${{ matrix.config.r }}
39-
# http-user-agent: ${{ matrix.config.http-user-agent }}
40-
# use-public-rspm: true
41-
#
42-
# - uses: r-lib/actions/setup-r-dependencies@v2
43-
# with:
44-
# working-directory: OpenStats
45-
# extra-packages: |
46-
# any::rcmdcheck
47-
# any::tinytest
48-
# any::shinytest2
49-
# github::ComPlat/OpenStats/comeln
50-
# needs: check
51-
#
52-
# - uses: r-lib/actions/check-r-package@v2
53-
# with:
54-
# working-directory: OpenStats
55-
# upload-snapshots: true
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
9+
name: R-CMD-check
10+
11+
jobs:
12+
R-CMD-check:
13+
runs-on: ${{ matrix.config.os }}
14+
15+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
16+
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
config:
21+
- {os: macos-latest, r: 'release'}
22+
- {os: windows-latest, r: 'release'}
23+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
24+
- {os: ubuntu-latest, r: 'release'}
25+
- {os: ubuntu-latest, r: 'oldrel-1'}
26+
27+
env:
28+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
29+
R_KEEP_PKG_SOURCE: yes
30+
31+
steps:
32+
- uses: actions/checkout@v3
33+
34+
- uses: r-lib/actions/setup-pandoc@v2
35+
36+
- uses: r-lib/actions/setup-r@v2
37+
with:
38+
r-version: ${{ matrix.config.r }}
39+
http-user-agent: ${{ matrix.config.http-user-agent }}
40+
use-public-rspm: true
41+
42+
- uses: r-lib/actions/setup-r-dependencies@v2
43+
with:
44+
working-directory: OpenStats
45+
extra-packages: |
46+
any::rcmdcheck
47+
any::tinytest
48+
any::shinytest2
49+
github::ComPlat/OpenStats/comeln
50+
needs: check
51+
52+
- uses: r-lib/actions/check-r-package@v2
53+
with:
54+
working-directory: OpenStats
55+
upload-snapshots: true

0 commit comments

Comments
 (0)