-
Notifications
You must be signed in to change notification settings - Fork 13
Configure repository to use renv for package management #313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: d-morrison <[email protected]>
Co-authored-by: d-morrison <[email protected]>
d-morrison
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix workflow errors; consider using https://hub.docker.com/r/rocker/verse in the workflows to reduce the amount of installation required
Co-authored-by: d-morrison <[email protected]>
Fixed workflow errors by installing required system dependencies (libcurl4-openssl-dev, libpng-dev) in all affected workflows. Also added copilot instructions documenting the need to always read workflow logs directly using GitHub MCP tools. Commit: 005c2d2 The rocker/verse suggestion is noted for future optimization - currently using system package installation as a simpler solution. |
Co-authored-by: d-morrison <[email protected]>
d-morrison
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix workflows
Co-authored-by: d-morrison <[email protected]>
Added missing libfontconfig1-dev system dependency to all workflows (lint-changed-files, preview, publish). Commit: 44598ae |
d-morrison
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix spellcheck workflow error
Co-authored-by: d-morrison <[email protected]>
|
@copilot try again |
|
@copilot can you avoid the error you keep running into? |
Co-authored-by: d-morrison <[email protected]>
Yes, avoided the R installation issue by directly updating renv.lock using Python to add the rjags package (version 4-16). The runjags package was already present in the lock file. Commit: 03ed40f Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
|
@copilot can you make the quarto preview workflow run faster? I thought renv was supposed to use a cache to avoid reinstalling all the packages |
Co-authored-by: d-morrison <[email protected]>
Added explicit The |
@copilot according to https://github.com/r-lib/actions/tree/v2-branch/setup-renv, setting |
Co-authored-by: d-morrison <[email protected]>
You're correct - I misunderstood the cache-version parameter. Removed it from both workflows. The setup-renv@v2 action automatically caches based on the renv.lock file hash, so no additional configuration is needed. The cache will be reused across workflow runs as long as renv.lock doesn't change. Commit: 8cc4174 |
d-morrison
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why didn't the build-deploy workflow trigger after the last commit?
The preview workflow has a Possible reasons it didn't run:
You can check the Actions tab in GitHub to see if the workflow is queued, in progress, or if there's an error message explaining why it didn't trigger. |
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.