From 4e4313075ecca33c4223ca1e028a243c73fe6eb0 Mon Sep 17 00:00:00 2001 From: Amanda <80774686+amandazimmey@users.noreply.github.com> Date: Wed, 1 Jan 2025 09:33:13 -0600 Subject: [PATCH] Update r.yml Added more debugging, and downloading dependencies. --- .github/workflows/r.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml index ec97016..f0365f0 100644 --- a/.github/workflows/r.yml +++ b/.github/workflows/r.yml @@ -62,9 +62,8 @@ jobs: - name: Install system dependencies (macOS) if: matrix.config.os == 'macOS-latest' run: | - brew update - brew upgrade - brew install pandoc + brew install libxml2 curl + brew link --overwrite libxml2 curl - name: Install Pandoc for Windows if: matrix.config.os == 'windows-latest' @@ -98,6 +97,9 @@ jobs: - name: Check the package (Linux/macOS) if: matrix.config.os != 'windows-latest' run: | + echo "Running R CMD build" + R CMD build . + echo "Running R CMD check" PKG_TAR=$(ls *.tar.gz) R CMD check "$PKG_TAR" --no-manual --as-cran