From tlumley at u.washington.edu  Fri Apr 21 16:31:55 2006
From: tlumley at u.washington.edu (Thomas Lumley)
Date: Fri, 21 Apr 2006 07:31:55 -0700 (PDT)
Subject: [Rd] R CMD check: non source files in src on (2.3.0 RC
 (2006-04-19 r37860))
In-Reply-To: <17480.38352.565554.514650@mithrandir.hornik.net>
References: <44472D38.80603@berkeley.edu>
	<Pine.LNX.4.64.0604200752001.14307@gannet.stats.ox.ac.uk>
	<59d7961d0604201023h18c8cf68t51b6ca3f2cbe578b@mail.gmail.com>
	<787C4179-E8D8-449F-B83B-A04F9A669BD2@r-project.org>
	<17480.38352.565554.514650@mithrandir.hornik.net>
Message-ID: <Pine.LNX.4.64.0604210730040.20727@homer22.u.washington.edu>

On Fri, 21 Apr 2006, Kurt Hornik wrote:

>>>>>> Simon Urbanek writes:
>
>> On Apr 20, 2006, at 1:23 PM, Henrik Bengtsson (max 7Mb) wrote:
>>> Is it a general consensus on R-devel that *.tar.gz distributions
>>> should only be treated as a distribution for *building* packages
>>> and not for developing them?
>
> [Actually, distributing so that they can be installed and used.]
>
>> I don't know whether this is a general consensus, but it definitely
>> an important distinction. Some authors put their own Makefiles in src
>> although they are not needed and in fact harmful, preventing the
>> package to build on other systems - only because they are too lazy to
>> use R building mechanism for development and don't make the above
>> distinction.
>
> Right :-)
>
> Henrik, as I think I mentioned the last time you asked about this: of
> course you can basically do everything you want.  But it comes at a
> price.  For external sources, you need to write a Makefile of your own,
> so as to make it clear that you provide a mechanism which is different
> from the standard one.  And, as Simon said, the gain in flexibility
> comes at a price.
>
> Personally and as one of the CRAN maintainers, I'd be very unhappy if
> package maintainers would start flooding their source .tar.gz packages
> with full development environment material.  (I am also rather unhappy
> about shipping large data sets which are only used for instructional
> purposes [rather than providing the data set "on its own"].)  It is
> simply not true that bandwidth does not matter.

The GPL, for GPL-licensed packages, requires that the source be made
available and defines the source as "the preferred form of the work for
making modifications to it."  If the .tar.gz packages are not the source, 
then, under the GPL, CRAN is required to provide the source as well, which 
doesn't seem to be an improvement.


 	-thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle



[Rd] R CMD check: non source files in src on (2.3.0 RC (2006-04-19 r37860))
Thomas Lumley