if (FALSE) { # rlang::is_installed("flextable")
ht <- hux(a = 1:3, b = 1:3)
ft <- as_flextable(ht)
if (FALSE) {
my_doc <- officer::read_docx()
my_doc <- flextable::body_add_flextable(
my_doc, ft)
print(my_doc, target =
"path/to/my_doc.docx")
}
}
Run the code above in your browser using DataLab