From renaud at mancala.cbio.uct.ac.za  Fri Jun 13 12:10:34 2014
From: renaud at mancala.cbio.uct.ac.za (Renaud Gaujoux)
Date: Fri, 13 Jun 2014 12:10:34 +0200
Subject: [Rd] Is it possible to make install.packages compile source code on
 Unix but use shipped binary on Windows?
Message-ID: <CAHavPHE1WW4JV735EQsGMdv_-wLY8_AnfAGqzCq=k96_D-wgYw@mail.gmail.com>

Hi,

is it possible to make install.packages install a source package by
compiling it on Unix, but skip compilation and use a pre-built windows
binary (shipped in exec/) if installing on Windows?

The package should be installable on Windows machines that do not have
Rtools installed. This is to make the update process easier for users,
because the C++ code does not change often, meaning that I can just
send source packages built on Linux, with a binary executable built
once in a while on win-builder.

Note that this is for a package that is not meant for CRAN, so no
policy issue here.

Thank you.

Bests,
Renaud



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