From ripley at stats.ox.ac.uk  Sat Jan 18 16:42:34 2014
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Sat, 18 Jan 2014 15:42:34 +0000
Subject: [Rd] [R-SIG-Mac]  My first package
In-Reply-To: <7D1846C9-892A-4C9B-B7C3-4979DC557053@r-project.org>
References: <CAAyVsXKQ+e_2xaZVNcTk3jm173KEKixai99FiSn9P1mB16AH0w@mail.gmail.com>
	<7D1846C9-892A-4C9B-B7C3-4979DC557053@r-project.org>
Message-ID: <52DAA0EA.8020700@stats.ox.ac.uk>

On 18/01/2014 15:25, Simon Urbanek wrote:
>
> On Jan 18, 2014, at 9:31 AM, Axel Urbiz <axel.urbiz at gmail.com> wrote:
>
>> Hi All,
>>
>>
>> I'm planning to submit my first package to R, and although I read all the

To CRAN, not 'to R', I guess.

>> documentation, I'm not very clear on the following 2 items, from which I'd
>> appreciate your guidance:
>>
>>
>> 1)I understand it is suggested to use the R dev version to build the

'R-devel', not 'R dev': see the R FAQ.

>> package. Which one specifically should I use to build a package on a Mac
>> OS? How about package dependencies, which version should I install on the R
>> dev version (and where should I get them)?
>>
>
> You can get latest R-devel builds for Mac OS X from
>
> http://r.research.att.com
>
> and the same is true for binary packages for R-devel - simply use http://r.research.att.com as the repository (in fact most CRAN mirrors should work as well).
> Cheers,
> Simon
>
>
>> 2) Not sure if this one belongs to this list. Does licensing follow the
>> logic of "inheritance" (i.e. if all the package dependencies of my package
>> are "GPL-2 | GPL-3", does my package need to use the same license agreement?

No, but it needs to use a *compatible* one.  As the default use one 
package makes of another is fairly 'hands off', this mainly means that 
you cannot require dependencies whose usage conditions contradict those 
of your package.  For one specific CRAN interpretation of this, see its 
policies.

[Dependencies involving closer connections such as some of those 
implemented via LinkingTo may impose more stringent compatibility tests.]


-- 
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-SIG-Mac] My first package
Prof Brian Ripley