Skip to content

Commit

Permalink
Add GitHub Actions workflow for R CMD check
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmoNaught committed Jul 23, 2024
1 parent 6d4d82d commit 6933b0b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: R-CMD-check

on: [push, pull_request]

jobs:
R-CMD-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
r-version: '4.4.1'
- name: Install dependencies
run: |
install.packages('devtools')
devtools::install_deps(dependencies = TRUE)
- name: Check
run: |
devtools::check()

0 comments on commit 6933b0b

Please sign in to comment.