Skip to content

Commit 22a5ced

Browse files
committed
Force installing ggplot2 < v4 to avoid CI errors
1 parent cf2f9c1 commit 22a5ced

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,18 @@ jobs:
4848
http-user-agent: ${{ matrix.config.http-user-agent }}
4949
use-public-rspm: true
5050

51+
# Install system dependencies needed for spatial packages
5152
- name: Install system dependencies for Ubuntu
5253
if: runner.os == 'Linux'
5354
run: |
5455
sudo apt-get update
5556
sudo apt-get install -y libgdal-dev libgeos-dev libproj-dev libudunits2-dev
5657
shell: bash
5758

58-
- name: Install GEOS on macOS
59-
if: matrix.config.os == 'macos-latest'
60-
run: brew install geos
59+
- name: Install system dependencies for macOS
60+
if: runner.os == 'macOS'
61+
run: |
62+
brew install pkg-config gdal proj geos
6163
shell: bash
6264

6365
- name: Install dependencies
@@ -69,8 +71,11 @@ jobs:
6971
remotes::install_local(".", dependencies = TRUE, upgrade = "never", Ncpus = parallel::detectCores())
7072
shell: Rscript {0}
7173

72-
- name: Check package
73-
uses: r-lib/actions/check-r-package@v2
74-
with:
75-
upload-snapshots: true
76-
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
74+
- name: Manual R CMD check
75+
run: |
76+
rcmdcheck::rcmdcheck(
77+
args = c("--no-manual", "--no-vignettes"), # "--as-cran",
78+
build_args = c("--no-build-vignettes"),
79+
error_on = "warning",
80+
check_dir = "check")
81+
shell: Rscript {0}

0 commit comments

Comments
 (0)