Parses a PDF and extracts the file paths printed in lines beginning with Source graphic: (figures) and Source file: (tables), along with the most recently encountered Source code: path. Page numbers are retained to help trace where each entry was found.

getTFs(.file)

Arguments

.file

File path of PDF containing tables and figures

Examples

if (FALSE) { # \dontrun{
  getTFs(here::here("deliv/report/pk-report.pdf"))
} # }