Skip to content

Commit

Permalink
GHA: _R_CHECK_FORCE_SUGGESTS_: false
Browse files Browse the repository at this point in the history
- addressing issue #198: frequent failures of GHA because suggested package "rSW2exter" cannot be installed (usually GDAL-related problems on GHA)

- this hack should be ok because "rSW2exter" is only utilized in a vignette and not executed if not available

- once issue #198 is properly resolved consider removing `_R_CHECK_FORCE_SUGGESTS_: false`
  • Loading branch information
dschlaep committed Jul 14, 2022
1 parent 0e6540b commit 224f61d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/check-standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
# rSOILWAT2 doesn't meet documentation standards (see issues #12 and #105): once these are resolved, reset to
# `rcmdcheck::rcmdcheck(..., error_on = "warning", ...)`

# frequent failures because suggested package "rSW2exter" cannot be installed
# (usually GDAL-related problems on GHA)
# -> remove `_R_CHECK_FORCE_SUGGESTS_: false` once issue #198 is resolved


on:
push:
branches: [main, release/**]
Expand Down Expand Up @@ -84,6 +89,7 @@ jobs:
- name: Check
env:
_R_CHECK_CRAN_INCOMING_REMOTE_: false
_R_CHECK_FORCE_SUGGESTS_: false
run: |
options(crayon.enabled = TRUE)
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "error", check_dir = "check")
Expand Down

0 comments on commit 224f61d

Please sign in to comment.