Replies: 2 comments 7 replies
-
I'm fairly sure this isn't a quarto bug; Quarto itself has no say about where your R libraries are installed. I'm going to convert this to a discussion. |
Beta Was this translation helpful? Give feedback.
-
@yulric you should add some checks to verify where your command is running and if it does indeed use your Note that Quarto's design is to have everything inside the project but you have chosen to put things outside of it which can lead to unexpected issues. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have:
Bug description
I have an R project with a Quarto project within it. The R project uses
renv
to manage its dependencies. The Quarto project uses the post-render option to run an R script that adds a file to the output directory. The Quarto project has no issues rendering locally. However, when running in a Github action it gives an error in the post render script saying it can't find the R libraries it uses.Steps to reproduce
This repo has the code to reproduce the issue https://github.com/yulric/quarto-issue.
Actual behavior
The Github action fails at the last step that runs the quarto render command.
Expected behavior
The Github action should succeed.
Your environment
It looks like the action is running Ubuntu version 24.04.2
Quarto check output
The failing build is using quarto
v1.7.32
Beta Was this translation helpful? Give feedback.
All reactions