Skip to content

Merge pull request #52 from kalibera/avoid-gsl-download #184

Merge pull request #52 from kalibera/avoid-gsl-download

Merge pull request #52 from kalibera/avoid-gsl-download #184

Workflow file for this run

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
#
# NOTE: This workflow is overkill for most R packages and
# check-standard.yaml is likely a better choice.
# usethis::use_github_action("check-standard") will install it.
on:
push:
branches:
- main
- dev
- CRAN
pull_request:
branches:
- main
- dev
- CRAN
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {os: ubuntu-latest, r: 'release'}
- {os: macos-latest, r: 'release'}
env:
GITHUB_PAT: ${{ secrets.GH_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
- name: Install gsl macos
if: runner.os == 'macos'
run: |
brew install gsl
brew install gdal
R -e 'install.packages("terra", repos="https://rspatial.r-universe.dev")'
shell: bash
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true