krlmlr / r-appveyor

Tools for using R with AppVeyor (https://appveyor.com)
132 stars 60 forks source link

Check PDF sizes error #124

Open cdeterman opened 6 years ago

cdeterman commented 6 years ago

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

rnuske commented 5 years ago

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.

mrustl commented 5 years ago

Same to me, see: https://ci.appveyor.com/project/KWB-R/kwb-utils

cdeterman commented 5 years ago

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.

vineetbansal commented 5 years ago

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

nuest commented 5 years ago

Same here, and no idea how to fix: https://ci.appveyor.com/project/nuest/suppdata/builds/21794271

nuest commented 5 years ago

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:

https://github.com/nuest/suppdata/commit/999c78ed76f0775084c11a28907c7e3a91ae2daa

krlmlr commented 5 years ago

@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

jeroen commented 5 years ago

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.

krlmlr commented 5 years ago

Is this still a problem with R 3.6?

cdeterman commented 5 years ago

@krlmlr it still appears to be the case here