r-hub/rhub-linux-builders

R-devel on Linux now needs checkbashisms

nealrichardson opened this issue · 10 comments

On Fedora Linux, R-devel, clang, gfortran, I got

* checking top-level files ... WARNING
A complete check needs the 'checkbashisms' script

This seems to be related to wch/r-source@0866fd0, added a couple of weeks ago, which (FWIW) is triggering this NOTE on CRAN's checks for me:

Version: 0.15.0
Check: top-level files
Result: NOTE
    ‘configure’: /bin/bash is not portable
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

I have the same issue.

@gaborcsardi I'd like to help but I don't know how exactly. :-)

  • Is adding the devscripts package (that contains the script, on Ubuntu and Debian) a good idea or should the checkbashims script only be downloaded from https://sourceforge.net/projects/checkbaskisms/files/?

  • Should the script be added to the devel configurations only or in the base configurations? Or in the base configurations only once the checkbashisms stuff makes it to R release?

I found https://travis-ci.community/t/new-warning-in-r-devel-about-the-checkbashisms-script/5551/3

Also relevant rocker-org/rocker@1749e16 :-)

I would copy the file to the base containers, ubuntu, debian, fedora, etc.

Ok so the same approach as https://github.com/rocker-org/rocker then?

yeah

I'm still locally building the first image I amended.

For info for Travis R now devscripts is installed travis-ci/travis-build@5ec0319#diff-5b7e1aa01f1c6f058df6e0b9e2486c62

devscripts has tons of dependencies that we don't need. And we also need to add it to fedora, centos, etc.

yes, it makes sense.

I am re-building the image because I had put COPY after RUN 🙈

Solved by #47.