Use PyPDF2 python package to combine multiple pdfs into one pdf.

combine_pdfs(input_paths, output_path)

Arguments

input_paths

[character()]
Existing filepaths to the pdfs that will be combined.

output_path

[character(1)]
Output filepath for the combined pdf to code file. The directory must exist.

Value

Invisibly returns output_path..

Examples

if (FALSE) { combine_pdfs( input_paths = c("diagnostics/USA.pdf", "diagnostics/ZAF.pdf"), output_paths = c("diagnostics/combined.pdf") ) }