Replies: 1 comment
-
Can you try https://ardata-fr.github.io/flextable-book/rendering.html#looping-in-r-mardown-documents? See also the original documentation https://bookdown.org/yihui/rmarkdown-cookbook/child-document.html Your function does only print a flextable. You don't really need |
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
-
Hi,
I used the flextable_to_rmd function without problem until recently. This allowed me to display flextables generated within a function, in an Rmarkdown in Word output. After several updates, I can no longer run this function which gives me the following error:
Error in setwd(opts_knit$get("output.dir")):
expected character argument.
Here is an example script that does not work because of this error :
output:
word_document:
Function :
Printing :
How can I fix this error. Did I forget a setting?
Thank you for this excellent package, very useful for clean and flexible renderings.
Beta Was this translation helpful? Give feedback.
All reactions