From cdf9fa084f38aae55dc77ea114845fc7d99ded50 Mon Sep 17 00:00:00 2001 From: Rose Martinez <44377052+romartinez-nycc@users.noreply.github.com> Date: Wed, 9 Oct 2024 16:25:26 -0400 Subject: [PATCH 1/3] Update DESCRIPTION add leaflet.extras as a required package to import, pkgdown build fails for councilverse.rmd when running the addCouncilStyle() function --- DESCRIPTION | 1 + 1 file changed, 1 insertion(+) diff --git a/DESCRIPTION b/DESCRIPTION index 30fec48..b4e8cae 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -22,6 +22,7 @@ Imports: bookdown, knitr, dplyr (>= 0.8), mapview + leaftlet.extras Suggests: here, extrafont, sf From aa597a8dd7c2419f4e57113645c4dea2479626b1 Mon Sep 17 00:00:00 2001 From: Rose Martinez <44377052+romartinez-nycc@users.noreply.github.com> Date: Wed, 9 Oct 2024 16:43:27 -0400 Subject: [PATCH 2/3] Update pkgdown.yaml testing --- .github/workflows/pkgdown.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 4bbce75..2a1744c 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -37,6 +37,12 @@ jobs: extra-packages: any::pkgdown, local::. needs: website + - name: Install dependencies + run: | + Rscript -e 'install.packages("pak")' + Rscript -e 'pak::pkg_install("devtools")' + Rscript -e 'devtools::install_deps()' + - name: Build site run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) shell: Rscript {0} From f2245fbb925b578a2e7e1dc12f086c2c93eb99b2 Mon Sep 17 00:00:00 2001 From: rose Date: Wed, 9 Oct 2024 16:58:06 -0400 Subject: [PATCH 3/3] missing comma! --- DESCRIPTION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index b4e8cae..d4c9d1c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -21,8 +21,8 @@ Imports: bookdown, magrittr, knitr, dplyr (>= 0.8), - mapview - leaftlet.extras + mapview, + leaflet.extras Suggests: here, extrafont, sf