Skip to content

Fix Quarto build-deploy failure by restoring R toolchain in publish workflow - #2

Merged
CrampsP merged 2 commits into
mainfrom
copilot/fix-failing-build-deploy-job
Jul 22, 2026
Merged

CrampsP merged 2 commits into
mainfrom
copilot/fix-failing-build-deploy-job

Conversation

Copilot AI commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

build-deploy failed during Quarto publish when rendering Story_Telling/project1.qmd because Rscript was unavailable in the runner. This PR aligns the workflow with project requirements for mixed Python/R rendering and cleans up publish-step configuration.

  • Workflow runtime requirements

    • Re-enabled R installation in .github/workflows/publish.yml (r-lib/actions/setup-r@v2).
    • Re-enabled R package install step (r-lib/actions/setup-r-dependencies@v2) for packages used by R code chunks (e.g., tidyverse, httr2, scales, knitr, DT).
  • Publish step cleanup

    • Removed duplicate env mapping under the Quarto publish step to keep a single explicit GITHUB_TOKEN binding.
- 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
      any::knitr
      any::DT

Copilot AI changed the title [WIP] Fix failing GitHub Actions job build-deploy Fix Quarto build-deploy failure by restoring R toolchain in publish workflow Jul 22, 2026
Copilot AI requested a review from CrampsP July 22, 2026 04:27
@CrampsP CrampsP closed this Jul 22, 2026
@CrampsP CrampsP reopened this Jul 22, 2026
@CrampsP
CrampsP marked this pull request as ready for review July 22, 2026 04:29
Copilot AI review requested due to automatic review settings July 22, 2026 04:29
@CrampsP
CrampsP merged commit 731f448 into main Jul 22, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Quarto publish GitHub Actions workflow to support mixed Python/R Quarto rendering (needed for Story_Telling/project1.qmd) and fixes the build-deploy workflow failure by ensuring the R toolchain is available during render/publish, while also cleaning up the publish step configuration.

Changes:

  • Adds/ensures an R setup step (r-lib/actions/setup-r@v2) in the publish workflow.
  • Adds/ensures an R dependency installation step (r-lib/actions/setup-r-dependencies@v2) for the packages used by R code chunks.
  • Removes a duplicate env: mapping under the Quarto publish step so there is a single GITHUB_TOKEN binding.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants