From be35a79b56055e7f4aaebb37ce412942d08a9b04 Mon Sep 17 00:00:00 2001 From: Ayla Pearson Date: Sun, 17 Mar 2024 17:40:15 -0700 Subject: [PATCH] get if statement working --- .github/workflows/R-CMD-check.yaml | 32 ++++++------------------------ 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 6fa6641..97a209f 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -26,30 +26,10 @@ jobs: R_KEEP_PKG_SOURCE: yes steps: - - uses: actions/checkout@v4 - - - uses: r-lib/actions/setup-pandoc@v2 - - - uses: r-lib/actions/setup-r@v2 - with: - r-version: ${{ matrix.config.r }} - http-user-agent: ${{ matrix.config.http-user-agent }} - use-public-rspm: true - - - uses: r-lib/actions/setup-r-dependencies@v2 - with: - extra-packages: any::rcmdcheck - needs: check - - - if: matrix.os != 'windows-latest' - uses: r-lib/actions/check-r-package@v2 - with: - upload-snapshots: true - build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' - + - if: matrix.os == 'macos-latest' + run: echo "this is a mac" + - if: matrix.os == 'windows-latest' - uses: r-lib/actions/check-r-package@v2 - with: - upload-snapshots: true - build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf", "--no-build-vignettes")' - args: 'c("--ignore-vignettes")' + run: echo "this is a windows" + + \ No newline at end of file