From ripley at stats.ox.ac.uk  Sun Jun 19 21:24:31 2011
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Sun, 19 Jun 2011 20:24:31 +0100 (BST)
Subject: [Rd] R CMD check on CRAN
In-Reply-To: <4DFE411A.9050003@statistik.tu-dortmund.de>
References: <924E5B3F-DAB7-4764-BD6A-39EEDECC9375@uzh.ch>
	<4DFE411A.9050003@statistik.tu-dortmund.de>
Message-ID: <alpine.LFD.2.02.1106192012400.22148@gannet.stats.ox.ac.uk>

On Sun, 19 Jun 2011, Uwe Ligges wrote:

>
>
> On 19.06.2011 20:17, soeren.vogel at uzh.ch wrote:
>> Hello
>> 
>> I have a package with a configure script (--include-something). How does 
>> the package pass the check on CRAN, that is, how should I signalise that 
>> check and install may need options?
>
> Which options are you talking about? You need to be more specific here, I 
> think.

Well, there is --configure-args and --configure-vars

Such packages are very rare (and has better remain so or the automated 
systems will grind to their knees).  I have, e.g.

RNetCDF-OPTS = 
--install-args='--configure-args=--with-netcdf-include=/usr/include/udunits2'
Rserve-OPTS = --install-args='--configure-args=--without-server'
udunits2-OPTS = 
--install-args='--configure-args=--with-udunits2-include=/usr/include/udunits2'

I don't believe any of these 3 should be needed: they indicate a lack 
of responsiveness/dogmatism from the package maintainers.  (I have 
some sympathy with resistance to non-standard layout, but it should be 
able to be specified by environment variables, as discussed in 
'Writing R Extensions'.)


>
> Uwe Ligges
>
>
>> 
>> Thanks
>> S?ren
>> 
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
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] R CMD check on CRAN
Prof Brian Ripley