From renaud at mancala.cbio.uct.ac.za  Wed Jun 18 16:10:07 2014
From: renaud at mancala.cbio.uct.ac.za (Renaud Gaujoux)
Date: Wed, 18 Jun 2014 16:10:07 +0200
Subject: [Rd] Is it possible to make install.packages compile source
 code on Unix but use shipped binary on Windows?
In-Reply-To: <53A1761B.1080504@stats.ox.ac.uk>
References: <CAHavPHE1WW4JV735EQsGMdv_-wLY8_AnfAGqzCq=k96_D-wgYw@mail.gmail.com>
	<539B21CD.6090704@stats.ox.ac.uk>
	<CAHavPHHH8TjtpVbbrGBc+ZtTHo4HoXsUswrRcb=9bJv76w2GYQ@mail.gmail.com>
	<53A1761B.1080504@stats.ox.ac.uk>
Message-ID: <CAHavPHEZuFnGHMEK3+vCJiR5VcC1y6-HUjHT5N1dGKbLes9L1w@mail.gmail.com>

> Maybe.  Read the documentation and sources for yourself (see below).

Not working, at least in my hands, as it requires `sh`.

> Yes, *and documented*

True. I overlooked the beginning of the NB point.

> (including that it should not be used for Windows executables).

Yes, that's why I use the suggested procedure that uses
src/install.libs.R to copy compiled .exe files into bin<R_ARCH>/.

So, eventually, I guess the answer to the original question is: no,
one cannot make install.packages skip compilation of a source package,
only if on Windows, without having Rtools installed -- and in PATH.

Renaud



[Rd] Is it possible to make install.packages compile source code on Unix but use shipped binary on Windows?
Renaud Gaujoux