Skip to content

Fix build-deploy failure by provisioning R for Quarto publish - #1

Draft
CrampsP with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-build-deploy-job
Draft

CrampsP with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-build-deploy-job

Conversation

Copilot AI commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

build-deploy was failing in GitHub Actions because Quarto attempted to render an R-backed page (Story_Telling/project1.qmd) without Rscript available. This change updates the publish workflow to install R and required R libraries before render/publish.

  • Root cause addressed

    • Quarto publish renders the full site, including .qmd files with R chunks.
    • Workflow previously installed Python deps only, so render failed when hitting R execution.
  • Workflow updates (.github/workflows/publish.yml)

    • Added r-lib/actions/setup-r@v2.
    • Added r-lib/actions/setup-r-dependencies@v2.
    • Installed packages required by the R document code path: tidyverse, httr2, scales.
  • Representative workflow diff

    - name: Install R
      uses: r-lib/actions/setup-r@v2
      with:
        use-public-rspm: true
    
    - name: Install R Dependencies
      uses: r-lib/actions/setup-r-dependencies@v2
      with:
        packages: |
          any::tidyverse
          any::httr2
          any::scales

Copilot AI changed the title [WIP] Fix failing GitHub Actions job build-deploy Fix build-deploy failure by provisioning R for Quarto publish Jul 22, 2026
Copilot AI requested a review from CrampsP July 22, 2026 04:09

@CrampsP CrampsP left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

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