Your report underlines the importance of the checks implemented by CRAN.
In fact, checkbashisms has become an optional part of R CMD check in R
4.0.0, whose NEWS say
> R CMD check now optionally checks configure and cleanup scripts for
> non-Bourne-shell code ('bashisms').
The R Internals manua
Dear R-devel,
Recently I ran into trouble installing two separate packages, nloptr and ncdf4,
both due to the same issue: they have scripts that have the shebang `#!
/bin/sh', but have bashisms in them, i.e. non-POSIX-compliant bash scripts.
I use dash [1] as my shell environment, since it's ab