diff --git a/.github/workflows/r-cmd-check.yml b/.github/workflows/r-cmd-check.yml new file mode 100644 index 0000000..d16d49c --- /dev/null +++ b/.github/workflows/r-cmd-check.yml @@ -0,0 +1,17 @@ +name: R-CMD-check + +on: [push, pull_request] + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: r-lib/actions/setup-r@v2 + - name: Install dependencies + run: | + install.packages('remotes') + remotes::install_deps(dependencies = TRUE) + - name: Check + run: R CMD build . && R CMD check *tar.gz +