Check whether a given PDF file is compliant to PDF/UA-1 (default).
Usage
is_pdf_compliant(file, profile = "ua1", from_json = FALSE)
Arguments
- file
PDF file to check.
- profile
The validation profile to use. Default to "ua1" (recommended).
- from_json
Whether file is the JSON output or not. This is useful in
other functions to only call verapdf CLI once.
Examples
if (FALSE) { # \dontrun{
is_pdf_compliant("report.pdf")
is_pdf_compliant("report.pdf", profile="ua2")
} # }