is_redoc: Is this a reversible document?

View source: R/docx-utils.R

is_redocR Documentation

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

is_redoc(redoc_example_docx())

noamross/redoc documentation built on Aug. 7, 2022, 7:22 a.m.