Learn R Programming

redoc (version 0.1.0.9000)

is_redoc: Is this a reversible document?

Description

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().

Usage

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

Run this code
# NOT RUN {
is_redoc(redoc_example_docx())
# }

Run the code above in your browser using DataLab