check_pdf: Check if file is a PDF

Description Usage Arguments Value See Also Examples

Description

Some <file>.pdf aren't actually PDFs and should be ignored

Usage

1

Arguments

file

Path to a PDF to check for embedding source

Value

Logical: TRUE if a PDF, FALSE if not

See Also

pdftools::pdf_info

Examples

1
2
3
4
## Not run: 
res <- check_pdf("test.pdf")

## End(Not run)

jacob-ogre/pdftext documentation built on May 18, 2019, 8:01 a.m.