Skip to content

Install pkgdown template dependency in CI - #120

Merged
ColinFay merged 2 commits into
masterfrom
copilot/fix-pkgdown-failing-job
Sep 15, 2026
Merged

ColinFay merged 2 commits into
masterfrom
copilot/fix-pkgdown-failing-job

Conversation

Copilot AI commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

The pkgdown GitHub Actions job was failing during site generation because the configured template package was not available in the runner environment. _pkgdown.yml references golemversetemplate, but the workflow only installed pkgdown and the local package.

  • Root cause

    • pkgdown::build_site_github_pages() resolved the site template from _pkgdown.yml and aborted because golemversetemplate was not installed.
  • Workflow change

    • Updated .github/workflows/pkgdown.yaml so the docs build installs the template package before running pkgdown.
  • Resulting behavior

    • The workflow setup now matches the pkgdown configuration, allowing the site build to load the configured template package instead of failing at build time.
- uses: r-lib/actions/setup-r-dependencies@v2
  with:
    extra-packages: any::pkgdown, github::ThinkR-open/golemversetemplate, local::.
    needs: website

Co-authored-by: ColinFay <17936236+ColinFay@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job pkgdown Install pkgdown template dependency in CI Sep 15, 2026
Copilot AI requested a review from ColinFay September 15, 2026 10:21
@ColinFay
ColinFay marked this pull request as ready for review September 15, 2026 10:23
@ColinFay
ColinFay merged commit 411d456 into master Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants