Did some debugging and see it fails in tm:::pdfinfo()
:
status <- system2("pdfinfo", shQuote(normalizePath(file)),
stdout = outfile)
This command doesn't create the outfile. According to Redirect system2 stdout to a file on windows this is a bug!