From 2a570388cda59ac818655dd80db9164a3374e498 Mon Sep 17 00:00:00 2001 From: Dereck Mezquita Date: Sun, 25 Aug 2024 23:20:23 -0500 Subject: [PATCH] Fail early with windows. --- .github/workflows/R-CMD-check.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/R-CMD-check.yml b/.github/workflows/R-CMD-check.yml index 4100784..e822813 100644 --- a/.github/workflows/R-CMD-check.yml +++ b/.github/workflows/R-CMD-check.yml @@ -65,6 +65,11 @@ jobs: Sys.setenv(PATH = paste(Sys.getenv("PATH"), tinytex::tinytex_root(), sep=";")) shell: Rscript {0} + - name: Check if pdflatex is available + if: runner.os == 'Windows' + run: pdflatex --version + shell: bash + - uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: any::rcmdcheck