Replies: 1 comment
-
Closing this as outdated! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Our team at work has transitioned from Word to a Quarto book project using R to ultimately publish our annual report as PDF. This was done around December 2023 and January 2024, in which we used Quarto 1.3. The book project consists of 8
.qmd
files and has a pre- and post-render script to mutate some things in the output.tex
file, which then is rendered withtinytex::xelatex()
in the post-render script. The report has a lot ofggplot
andflextable
objects.Now I am preparing for next year/round and I am checking for compatibility issues with rendering the book project using Quarto 1.4, as I am not sure if Quarto 1.5 will already be available by then. I am using qvm to install multiple versions of Quarto on my Windows client. There seem to be differences in render time for both versions. Excuse me for not having the time yet to bring a reprex. I hope that some pointers could help me resolve the problem, and will try to make time for a reprex if absolutely necessary. Last time I tried, the flextables I created did not cause these huge differences. For what it's worth, I have rendered the Quarto project in two independent environments: on a VM provided by work, but also on a separate device (used by the team for work) and experienced/observed similar differences in render time between Quarto versions.
OS and
quarto check
outputWindows 10 x64
Only text and inline R code
I have tried quite some debugging and noticed that v1.3 has approximately the same render times as v1.4 when excluding
.qmd
files that have use quite a lot offlextable
andggplot
objects. But it does contain some R code chunks and also uses the inline variable syntax,r variable_defined_in_chunk
This is reasonable!
Including one additional
.qmd
file with manyflextable
andggplot
objectsNot sure if this is any helpful, but I noticed it takes a lot longer before the post-render script starts. In Quarto 1.4 it seems to hang at:
Including one additional
.qmd
file with only threeflextable
objects and noggplot
objectsYet again, it hangs before the post-render script starts.
Any ideas as to what could cause this difference? The problem seems to be somehow linked to
flextable
and I recall that rendering a PDF book withflextables
worked again from Quarto 1.4.551 onwards thanks to #8843, but I can't really grasp how the interaction changes despite having the same version offlextable
. I am usingflextable==0.9.5
.Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions