pdf_append_blank() appends blank pages to a pdf.
Arguments
- input
Input pdf filename.
- output
Output pdf filename.
NULLdefaults to atempfile()with a___pnpmisc.pdffile extension.- ...
Ignored.
- minimum
Final number of pages should be at least this integer.
- multiples_of
Final number of pages should be a multiple of this integer.
Value
output pdf file name invisibly.
As a side effect creates a pdf file with any extra blank pages appended.
Examples
f1 <- pdf_create_blank(length = 1L)
f2 <- pdf_append_blank(f1, multiples_of = 4L)
qpdf::pdf_length(f2)
#> [1] 4
# Clean up
unlink(f1)
unlink(f2)