Closed kaz462 closed 1 year ago
r2rtf::assemble
only work for RTF files generated by the r2rtf
package.
From the source code , you can see tlf-primary.rtf
is created by the pharmaRTF
package.
https://github.com/RConsortium/submissions-pilot1/blob/main/vignettes/tlf-primary.Rmd
If you want to assemble RTF files generated beyond r2rtf
package, assemble_docx
is a more robust solution.
Thanks @elong0527 ! This is good to know for someone new to this package :) Is the following documented somewhere?
r2rtf::assemble
only work for RTF files generated by the r2rtf package.If you want to assemble RTF files generated beyond r2rtf package, assemble_docx is a more robust solution.
This issue will be the reference for future people. :)
Question I'm not able to repeat this file: tlf-primary.rtf in the output by using
r2rtf::assemble_rtf
. I tried with tlf-efficacy.rtf and it works fine.Could you help me understand the error/warning message? Thanks a lot!
To reproduce
Created on 2023-06-16 with reprex v2.0.2
Session info