insightsengineering / rtables

Reporting tables with R
https://insightsengineering.github.io/rtables/
Other
222 stars 48 forks source link

follow-up to docx export #738

Open Melkiades opened 11 months ago

Melkiades commented 11 months ago

Refinements need the following fixes:

clarkliming commented 11 months ago

may I ask if we can allow the table to be exported into a existing file?

Melkiades commented 11 months ago

may I ask if we can allow the table to be exported into a existing file?

You should be able with the template_file option. I did not test it fully though! Meaning that I do not know if the template format will be overloaded or vice-versa. It should just added with the specified style

clarkliming commented 11 months ago

I see. I was wondering if we should only use file as the only argument, like if file exists and is a docx file then append result to it; if file does not exist then start from new doc files.

Melkiades commented 11 months ago

I see. I was wondering if we should only use file as the only argument, like if file exists and is a docx file then append result to it; if file does not exist then start from new doc files.

yes it makes sense if you think it is simpler I will add it to this issue