Re: [Rd] package installation needs the file utility on Unix

2019-03-08 Thread Gábor Csárdi
Thanks! Good point about the compiler toolchain.on Alpine Linux, which tends to be small, gcc can be less than 100MB, so still might matter a bit Gabor On Fri, Mar 8, 2019 at 1:44 PM Tomas Kalibera wrote: > > Well, this only applies to source installs of packages that have some > files w

Re: [Rd] package installation needs the file utility on Unix

2019-03-08 Thread Tomas Kalibera
Well, this only applies to source installs of packages that have some files with the special extension, so on systems where a compiler toolchain needs to be installed, so the image cannot be really tiny, anyway. But ok, I've made stage install use "file" only when it is available. When it isn't

[Rd] package installation needs the file utility on Unix

2019-03-07 Thread Gábor Csárdi
The new staged package installation shells out to the 'file' utility on Unix systems: https://github.com/wch/r-source/blob/31ee14c620eb1b939acd322f3b5617f998aab8e8/src/library/tools/R/install.R#L578 Although 'file' is usually present on most Unix systems, it might be missing from small Docker cont