A function for testing is the file can be de-rendered. If not, un-knitting may be attempted with the orig_chunkfile or orig_docx files in dedoc().

is_redoc(docx)

Arguments

docx

A path to a .docx file or an rdocx object produced by officer::read_docx()

Value

a logical value

Examples

is_redoc(redoc_example_docx())
#> [1] TRUE