From d1984ad325c8226fb84b72835c87805513ab12c5 Mon Sep 17 00:00:00 2001 From: Ian D Buller Date: Tue, 9 Jul 2024 19:47:35 -0400 Subject: [PATCH] :stethoscope: Update R CMD check in GitHub Actions * test solution for #8 (attempt 9) * install 'units' dependency correctly on macOS r-devel --- .github/workflows/R-CMD-check.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index f0c3bf3..554c3e5 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -53,7 +53,7 @@ jobs: - name: "[Custom block] [macOS] Install spatial libraries" if: runner.os == 'macOS' - run: brew install pkg-config udunits gdal proj geos + run: brew install udunits gdal proj geos - name: "[Custom block] [Linux] Install spatial libraries" if: runner.os == 'Linux' @@ -83,8 +83,8 @@ jobs: - name: "[Custom block] [macOS] Install units from source" if: runner.os == 'macOS' run: | - install.packages('udunits2', type = 'source') - install.packages('units', type = 'source') + install.packages('udunits2', type = 'source', configure.args = '--with-udunits2-include=/usr/include/udunits2')) + install.packages('units', type = 'source', configure.args = '--with-udunits2-include=/usr/include/udunits2')) shell: Rscript {0} - name: Session info