From ec7f7898eb0ec33a54872ae0b180d4716f9af26b Mon Sep 17 00:00:00 2001 From: Sean Anderson Date: Wed, 29 Nov 2023 17:09:54 -0800 Subject: [PATCH] Fix Matrix/TMB version conflicts on CI --- .github/workflows/R-CMD-check.yaml | 4 ++++ .github/workflows/pkgdown.yaml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 8297471de..cd9c102e7 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -83,6 +83,8 @@ jobs: remotes::install_cran("knitr") remotes::install_cran("rmarkdown") remotes::install_cran("rcmdcheck") + install.packages("Matrix", type = "source") + install.packages("TMB", type = "source") shell: Rscript {0} - name: Install dependencies Windows @@ -92,6 +94,8 @@ jobs: remotes::install_cran("knitr") remotes::install_cran("rmarkdown") remotes::install_cran("rcmdcheck") + install.packages("Matrix", type = "source") + install.packages("TMB", type = "source") shell: Rscript {0} - name: Check diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index e3b3d736e..3d1d9f05d 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -40,6 +40,8 @@ jobs: remotes::install_cran("cowplot") remotes::install_cran("rnaturalearth") remotes::install_cran("rnaturalearthdata") + install.packages("Matrix", type = "source") + install.packages("TMB", type = "source") shell: Rscript {0} - name: Build site