tar_quarto()
returns Error : ! System command 'quarto' failed
#116
Replies: 5 comments 5 replies
-
A |
Beta Was this translation helpful? Give feedback.
-
Thank you so much! I followed your suggestion and tried rendering the files both with I now encounter a problem that has probably to do with the object type: I can load and embed a figure (created as a ggplot2 object) with both render commands using readr::read_rds("homepage/import/figure.rds") but loading and embedding a table (created as a gt table object) the same way only works with Given that the error seems to depend on object type, could it have to do with the packages targets is loading in the background? I do include the gt package in
It also works when I replace the gt table object with a simple dataframe. |
Beta Was this translation helpful? Give feedback.
-
Thanks again! Calling |
Beta Was this translation helpful? Give feedback.
-
Updating Quarto CLI solved it! Thanks for all the time you put into this, I truly appreciate it. Not sure I would have been able to figure this out by myself at all (I switched to |
Beta Was this translation helpful? Give feedback.
-
I have another question that is likely related: When I try to embed an image into the Quarto document (via |
Beta Was this translation helpful? Give feedback.
-
I am trying to include a Quarto website project as a target but keep getting the error
Error : ! System command 'quarto' failed
. I am working in an R Studio Project (which is where the targets pipeline is defined) and the homepage files are another R Studio Project in a subfolder calledhomepage
. For now, the homepage files do not invoke any other targets.Edit: It turned out that the culprit was a file path I used to embed an image with
Adding
homepage/
to the path (i.e. making it relative to the top-level project in which the targets pipeline lives) made it work. Perhaps a comment in the targets user manual would be useful? It would also be great if the error message could be more specific but I see that this might be hard to implement.For my case, it is probably best practice to define a new target for the image file rather than hard-coding it anyways.
Beta Was this translation helpful? Give feedback.
All reactions