krlmlr / r-appveyor

Tools for using R with AppVeyor (https://appveyor.com)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check PDF sizes error

cdeterman opened this issue · comments

Any idea why appveyor would be crashing out when check the size of PDF files in my R package? The build completes without an issue on Travis CI. The error that keeps coming up is:

  • checking sizes of PDF files under 'inst/doc' ...Error: invalid version specification 'true (GNU coreutils) 5.97'

Feel free to have a look at the build here

I've got the same problem on appveyor.
The package builds fine on a local Linux & Windows and on Travis CI. Tried to google for it but only found gpuR's appveyor logs and this issue.

This is a few months old now with no further ideas from my end. Want to make sure it doesn't just slip through the cracks.

Exactly the same issue for me on Appveyor as of Jan 2019. (Travis on Linux runs fine)

Starting from https://github.com/wch/r-source/blob/f421a17bd4fb559674a760667c088bdc5aa8093c/src/library/tools/R/check.R#L5550 I could deactivate the size check both in the build configuration on Appveyor or directly in appveyor.yml. Hope this helps others until problem is fixed:

nuest/suppdata@999c78e

@jeroen: Any idea why R CMD check would bring up Error: invalid version specification 'true (GNU coreutils) 5.97 when checking documentation sizes?

https://ci.appveyor.com/project/cdeterman/gpur#L641

This error comes from R when you try to parse a string true as a version: https://github.com/wch/r-source/blob/5a156a0865362bb8381dcd69ac335f5174a4f60c/src/library/base/R/version.R#L51

No idea what is causing this though.

Is this still a problem with R 3.6?

@krlmlr it still appears to be the case here