Skip to contents

Prepare PDF File if Condition is Met

Usage

preparePdfIf(to.pdf, PDF = "", ...)

Arguments

to.pdf

condition determining whether preparePdf is called or not

PDF

full path to PDF file. If this is an empty string (default) a temporary file is created and its path returned

...

arguments passed to preparePdf

Value

full path to pdf file created if condition is met or "" else