Skip to content

Commit

Permalink
r cmd check github action
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaSare committed Jun 14, 2022
1 parent 39b34ac commit bdc0c29
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 25 deletions.
3 changes: 1 addition & 2 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

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

README.Rmd
.travis.yml
^\.github$
28 changes: 28 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@v1
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v1
with:
extra-packages: rcmdcheck

- uses: r-lib/actions/check-r-package@v1
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

0 comments on commit bdc0c29

Please sign in to comment.