Get the number of pages in a pdf file
Examples
pdf_file <- system.file("examples", "sufganiyot.pdf", package = "cpp11qpdf")
pdf_length(pdf_file, "")
#> [1] 2
Get the number of pages in a pdf file
pdf_file <- system.file("examples", "sufganiyot.pdf", package = "cpp11qpdf")
pdf_length(pdf_file, "")
#> [1] 2