Skip to content

Commit

Permalink
🩺 Update R CMD check in GitHub Actions
Browse files Browse the repository at this point in the history
* test solution for #8 (attempt 9)
* install 'units' dependency correctly on macOS r-devel
  • Loading branch information
idblr committed Jul 9, 2024
1 parent 989d1bf commit d1984ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d1984ad

Please sign in to comment.