From 3ff741d602edb99e5e7becea4dfa14ce66a0d83a Mon Sep 17 00:00:00 2001 From: Michael Totty Date: Thu, 15 Feb 2024 09:38:58 -0500 Subject: [PATCH] pkgdown build failed due to no SpotSweeper package. Added 'Install SpotSweeper' step to workflow after 'Install dependencies' --- .github/workflows/pkgdown.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index ff91418..4ddb01e 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -29,11 +29,16 @@ jobs: with: use-public-rspm: true - - uses: r-lib/actions/setup-r-dependencies@v2 + - name: Install dependencies + uses: r-lib/actions/setup-r-dependencies@v2 with: extra-packages: any::pkgdown needs: website + - name: Install SpotSweeper + run: remotes::install_local(dependencies = TRUE) + shell: Rscript {0} + - name: Build site run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) shell: Rscript {0}