Skip to content

Fix pkgdown workflow by installing the local package before site build - #19

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

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

Conversation

Copilot AI commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

The pkgdown GitHub Actions job was failing during site generation because pkgdown::deploy_to_branch() attempted to load fakir for reference/example building before the package had been installed. This change updates the workflow so the local package is available during the pkgdown build.

  • Workflow fix

    • Update the pkgdown dependency setup step to install the repository package in addition to pkgdown.
    • Keep the existing template install and deploy flow unchanged.
  • Effect on pkgdown build

    • Ensures fakir can be loaded when pkgdown builds reference pages and evaluates examples.
    • Aligns the workflow with the expected r-lib/actions pkgdown pattern for site generation from source.
  • Change

    - uses: r-lib/actions/setup-r-dependencies@v2
      with:
        extra-packages: pkgdown, 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 Fix pkgdown workflow by installing the local package before site build Sep 15, 2026
Copilot AI requested a review from ColinFay September 15, 2026 10:08
@ColinFay
ColinFay marked this pull request as ready for review September 15, 2026 10:11
@ColinFay
ColinFay merged commit 7bb6f62 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