-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility pdftools + R 4.2.1/4.2.2 #120
Comments
I have the same problem! It must be some kind of protection that pdftools cannot work with. I identified one PDF where this problem exists and tried to solve it with pikepdf (Python) programatically which shows some effect in that it is not protected anymore, but there is still a fatal error when I open it with pdftools. I also unprotected it with the online tool of ilovepdf and that is where it works. So I guess it is some protection mechanism.
-- Attached you find all three documents. |
I have a problem when using pdftools::pdf_text() with some PDFs when using R 4.x.
For most PDFs, everything works, but there are some PDFs where a fatal error occurs. I'm using Rstudio 2022.12.0+353 "Elsbeth Geranium". I tried to figure out whether there is a particular characteristic of the PDFs where the fatal error occurs, but did not find any. In case it is related to the PDF characteristics, I attached the respective files.
The same problem occurs when using R.4.1.
When using an older version of R (I tried 4.1.3.), everything works as expected.
PDF_no error.pdf
PDF_fatal error.pdf
The text was updated successfully, but these errors were encountered: