Check whether two PDF files have the same content, ignoring some details like
creation time and modification time.
Usage
samePDF(file1, file2)
Value
A logical value.
Arguments
file1, file2
Names of PDF files to compare.
Author
Paul Murrell
Details
This function will compare any two files, byte by byte, but
if a file is a PDF file that was generated by R, it will
discard the file header, which may contain differences that do not
matter, such as the creation date.