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
v3 cannot read pdf files #105
Comments
|
It looks like the build of @Enchufa2 can you have a look? Here is a minimal example: pdftools::pdf_info('https://cloud.r-project.org/web/packages/magick/magick.pdf') |
|
Unless I missed something, builds are fine (pinging @QuLogic, the maintainer of this package). Line 1136 of Fedora enables |
Thanks! So this issue is fixed if we replace that line with |
|
Correct. |
|
OK I'll add that. Doesn't Fedora run CMD check when building |
|
It does and it should have, but whoever bumped to 3.0.1 turned them off to bootstrap and never remembered to enable them, or didn't report a bug to either of us. |
|
According to the build history, spot updated the package, triggered a bootstrap rebuild and a normal one, which failed. He was probably too busy rebuilding R and the whole stack of packages and forgot to look into it. |
|
OK well thanks for helping me debugging. If you run into any other crashes on Fedora with one of my packages I would love to hear about it of course. |
|
Well yes, I was trying to avoid naming names... In any case, I've submitted an update with the fix backported. |
Not pointing fingers here. Quite the opposite: rebuilding R and the entire stack is a pretty demanding task, as you know, so it's perfectly understandable that something like this slipped through. |
I use Fedora Linux so I'll provide the steps to reproduce this issue.
sudo dnf install R R-magick R-pdftoolsThis also occurs when installing the magick (v2.7.2) and pdftools (v3.0.0) R packages instead from the RStudio repository (requires installing
ImageMagick-c++-devel libcurl-devel libjpeg-turbo-devel poppler-cpp-develvia dnf first):This does not happen with magick v2.7.2 and pdftools v2.3.1 (replace the
REPO_NAMEwithoptions(repos = c(REPO_NAME = "https://packagemanager.rstudio.com/all/2021-05-03+Y3JhbiwyOjE3NTA3NTI7NkMwNDVBMjE"))).Unfortunately the error message is too opaque for me to identify the issue further, so any help would be much appreciated!
The text was updated successfully, but these errors were encountered: