Skip to content

Bsweger/cleanup unused target references #226

Bsweger/cleanup unused target references

Bsweger/cleanup unused target references #226

Workflow file for this run

name: R-CMD-check
on: pull_request
jobs:
R-CMD-check:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-pandoc@v2
- name: Cache R packages
uses: actions/cache@v1
with:
path: ${{ env.R_LIBS_USER }}
key: r-${{ hashFiles('DESCRIPTION') }}
- name: Install dependencies
run: |
install.packages(c("devtools"))
devtools::install_github("epiforecasts/[email protected]")
devtools::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: |
devtools::check(args = c("--no-tests", "--no-manual", "--no-vignettes"),error_on = "error")
shell: Rscript {0}
- name: Upload check results
if: failure()
uses: actions/upload-artifact@main
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check