Serialises a rapsimng_decide_document with document_lines() and writes the resulting text file to path.

write_document(document, path, overwrite = FALSE)

Arguments

document

A report object with class rapsimng_decide_document.

path

A single output file path.

overwrite

Logical scalar indicating whether an existing file may be replaced.

Value

Invisibly returns path.