[R-pkg-devel] R CMD build with configure-args

Dirk Eddelbuettel edd at debian.org
Thu Jul 30 23:11:34 CEST 2015


Besides what Duncan said, relying on user to supply arguments is pretty bad
as it more or less guarantees _any_ automated test will not succeed (for lack
of involvement of the sage user).

Writing configure scripts feels like yet another painful step, but it really
is not that hard if you know a little shell scripting already.  You can even
do simple things and just loop over a fixed (but hopefully long) list of know
locations -- which is what RPostgreSQL does:

  https://github.com/cran/RPostgreSQL/blob/master/configure.in#L38-L69

Not my proudest moment, but it worked for a few (ten-)thousands of
installations and builds ...

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



More information about the R-package-devel mailing list