Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 14, 2026

The Quarto workflows were missing R setup, causing failures when rendering documents with R code or dependencies.

Changes

  • Added r-lib/actions/setup-r@v2 to both .github/workflows/publish.yml and .github/workflows/preview.yml
  • Added r-lib/actions/setup-r-dependencies@v2 to install packages from DESCRIPTION (bibtex, glue, rcrossref, stringr)
  • Positioned R setup steps after checkout, before Quarto setup

The workflows now properly support R code execution during Quarto rendering.

Original prompt

This section details on the original issue you should resolve

<issue_title>add R installation step to preview and publish workflows</issue_title>
<issue_description>use https://github.com/r-lib/actions/tree/v2-branch/setup-r</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 14, 2026 21:18
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Copilot AI changed the title [WIP] Add R installation step to workflows Add R installation to preview and publish workflows Jan 14, 2026
Copilot AI requested a review from d-morrison January 14, 2026 21:22
@d-morrison d-morrison closed this Jan 15, 2026
@d-morrison
Copy link
Member

will be handled in # 57

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.

add R installation step to preview and publish workflows

2 participants