Skip to content

Commit bdc0c29

Browse files
committed
r cmd check github action
1 parent 39b34ac commit bdc0c29

File tree

3 files changed

+29
-25
lines changed

3 files changed

+29
-25
lines changed

.Rbuildignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
^README\.Rmd$ # An Rmarkdown file used to generate README.md
55
^cran-comments\.md$ # Comments for CRAN submission
6-
^\.travis\.yml$ # Used for continuous integration testing with travis
76

87
README.Rmd
9-
.travis.yml
8+
^\.github$

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/master/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: ubuntu-latest
14+
env:
15+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
16+
R_KEEP_PKG_SOURCE: yes
17+
steps:
18+
- uses: actions/checkout@v2
19+
20+
- uses: r-lib/actions/setup-r@v1
21+
with:
22+
use-public-rspm: true
23+
24+
- uses: r-lib/actions/setup-r-dependencies@v1
25+
with:
26+
extra-packages: rcmdcheck
27+
28+
- uses: r-lib/actions/check-r-package@v1

.travis.yml

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

0 commit comments

Comments
 (0)