From ripley at stats.ox.ac.uk  Tue Nov  7 08:57:18 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 7 Nov 2006 07:57:18 +0000 (GMT)
Subject: [Rd] lme4 install,
 was Re: [R] Which executable is associated with R CMD INSTALL?
In-Reply-To: <40e66e0b0611060756n38bc5e85w2f2bd6fdb52cf5e1@mail.gmail.com>
References: <20061030193251.GA3676@ihug.co.nz> <4546725A.7000905@stats.uwo.ca>
	<20061031091759.GB3676@ihug.co.nz>
	<x24ptkyccu.fsf_-_@viggo.kubism.ku.dk>
	<40e66e0b0611060629q4d431b64w4b866aada55c0a80@mail.gmail.com>
	<x2wt68y6wo.fsf@viggo.kubism.ku.dk>
	<40e66e0b0611060756n38bc5e85w2f2bd6fdb52cf5e1@mail.gmail.com>
Message-ID: <Pine.LNX.4.64.0611070753060.19297@gannet.stats.ox.ac.uk>

On Mon, 6 Nov 2006, Douglas Bates wrote:

[...]

> However, I think it exposes a problem with R CMD INSTALL.  If there is
> a LinkingTo: directive in the DESCRIPTION file and the package's
> include directory cannot be found I think that R CMD INSTALL should
> abort.

That was a deliberate design decision: LinkingTo means 'add to the C 
include path if found'.  I think rather a package that cannot work without 
the link should ensure that the compilation fails cleanly -- I was trying 
to allow the package writer the freedom to ignore the link if it was not 
available.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] lme4 install, was Re: [R] Which executable is associated with R CMD INSTALL?
Prof Brian Ripley