r-hub / rhub-linux-builders

Docker configuration for the R-hub Linux builders
GNU General Public License v2.0
23 stars 13 forks source link

R-devel on Linux now needs checkbashisms #46

Closed nealrichardson closed 2 years ago

nealrichardson commented 5 years ago

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 https://github.com/wch/r-source/commit/0866fd0d4a2cefb3547717d13a08cf63a7e996bb, 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
HeidiSeibold commented 4 years ago

I have the same issue.

maelle commented 4 years ago

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

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

maelle commented 4 years ago

Also relevant https://github.com/rocker-org/rocker/commit/1749e1643bf37510d0e75d733c621c0e3e3f7f89 :-)

gaborcsardi commented 4 years ago

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

maelle commented 4 years ago

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

gaborcsardi commented 4 years ago

yeah

maelle commented 4 years ago

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

For info for Travis R now devscripts is installed https://github.com/travis-ci/travis-build/commit/5ec0319d89b469e5c3afee01348b163359450d1e#diff-5b7e1aa01f1c6f058df6e0b9e2486c62

gaborcsardi commented 4 years ago

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

maelle commented 4 years ago

yes, it makes sense.

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

nealrichardson commented 2 years ago

Solved by #47.