From ec4cde9056ec611455958833c4cfde714ff853bf Mon Sep 17 00:00:00 2001 From: Trevor Riley Date: Wed, 13 May 2026 19:59:56 -0400 Subject: [PATCH] Install CiteSource via pak in setup step so rsconnect detects it remotes::install_github installs into a separate library that renv/pak (used by rsconnect for dependency detection) cannot see. Installing via extra-packages puts CiteSource in the same library so rsconnect includes it in the deployment manifest. --- .github/workflows/document-and-deploy.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/document-and-deploy.yml b/.github/workflows/document-and-deploy.yml index 6c35e361..222e8675 100644 --- a/.github/workflows/document-and-deploy.yml +++ b/.github/workflows/document-and-deploy.yml @@ -24,7 +24,7 @@ jobs: - name: Set up R Dependencies uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: devtools, roxygen2, remotes, rsconnect, pkgdown + extra-packages: devtools, roxygen2, remotes, rsconnect, pkgdown, ESHackathon/CiteSource@dev - name: Create documentation run: | @@ -52,7 +52,6 @@ jobs: RENV_CONFIG_SNAPSHOT_VALIDATE: "false" run: | R -e " - remotes::install_github('ESHackathon/CiteSource', force = TRUE); rsconnect::setAccountInfo(name=${{secrets.SHINY_LUKAS_ACCOUNT}}, token=${{secrets.SHINY_LUKAS_TOKEN}}, secret=${{secrets.SHINY_LUKAS_SECRET}}); rsconnect::deployApp( appName = 'CiteSource_latest', @@ -66,7 +65,6 @@ jobs: RENV_CONFIG_SNAPSHOT_VALIDATE: "false" run: | R -e " - remotes::install_github('ESHackathon/CiteSource', force = TRUE); rsconnect::setAccountInfo(name=${{secrets.SHINY_LUKAS_ACCOUNT}}, token=${{secrets.SHINY_LUKAS_TOKEN}}, secret=${{secrets.SHINY_LUKAS_SECRET}}); rsconnect::deployApp( appName = 'CiteSource',