isPDF: Evaluates whether a file is a PDF document.

Description Usage Arguments Value

View source: R/isPDF.R

Description

Checks if provided file is in Portable Document Format (PDF).

Usage

1
isPDF(aFileName, verbose = TRUE)

Arguments

aFileName

A string that identifies a file name (and directory path) of the PDF candidate.

verbose

Provides more elaborate description of why the file could not be evaluated as a PDF (e.g., when validating a PDF online). When "quiet", an error message is not generated.

Value

A logical value indicating whether the file is a PDF document.


metagear documentation built on Feb. 15, 2021, 5:09 p.m.