From bc6bfeb6caee97aa91164886e78cc75a5c083361 Mon Sep 17 00:00:00 2001 From: Andreas Brandmaier Date: Mon, 8 Apr 2024 13:28:45 +0200 Subject: [PATCH] Create R-CMD-check-windows --- .github/workflows/R-CMD-check-windows | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/R-CMD-check-windows diff --git a/.github/workflows/R-CMD-check-windows b/.github/workflows/R-CMD-check-windows new file mode 100644 index 0000000..1d68a31 --- /dev/null +++ b/.github/workflows/R-CMD-check-windows @@ -0,0 +1,29 @@ +# Workflow derived from https://github.com/r-lib/actions/tree/v2/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-Win + +jobs: + R-CMD-check: + runs-on: windows-latest + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + R_KEEP_PKG_SOURCE: yes + steps: + - uses: actions/checkout@v3 + + - uses: r-lib/actions/setup-r@v2 + with: + use-public-rspm: true + + - uses: r-lib/actions/setup-r-dependencies@v2 + with: + extra-packages: any::rcmdcheck + needs: check + + - uses: r-lib/actions/check-r-package@v2