[R-SIG-Mac] My first package

2014-01-20 Thread Axel Urbiz
Hi All,


I'm planning to submit my first package to R, and although I read all the
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
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)?


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?



Thanks!

Axel.

[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] My first package

2014-01-20 Thread Federico Calboli
On 18 Jan 2014, at 14:31, Axel Urbiz axel.ur...@gmail.com wrote:

 Hi All,
 
 
 I'm planning to submit my first package to R, and although I read all the
 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
 package.

Is it?  this is news to me.  I have a grand total of 2 packages up and I never 
ever used R-devel, and never ever had a problem, had a report of a problem or 
had a note from CRAn about my packages not being ok because I built them with 
R-relase (or whatever it might be called) and not R-devel.

BW

F



 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)?
 
 
 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?
 
 
 
 Thanks!
 
 Axel.
 
   [[alternative HTML version deleted]]
 
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] My first package

2014-01-20 Thread Matthew Denwood
On 20 Jan 2014, at 09:31, Federico Calboli f.calb...@imperial.ac.uk wrote:

 On 18 Jan 2014, at 14:31, Axel Urbiz axel.ur...@gmail.com wrote:
 
 Hi All,
 
 
 I'm planning to submit my first package to R, and although I read all the
 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
 package.
 
 Is it?  this is news to me.  I have a grand total of 2 packages up and I 
 never ever used R-devel, and never ever had a problem, had a report of a 
 problem or had a note from CRAn about my packages not being ok because I 
 built them with R-relase (or whatever it might be called) and not R-devel.
 

I also build my packages on the release version of R, but I do always first 
upload to the frankly invaluable win-builder service at 
http://win-builder.r-project.org  - this is mainly to check 
compatibility/issues under Windows (of which there are frequently several), but 
also checks for problems against R-devel (of which I don't think I've ever had 
any).  It is also very worthwhile checking the check logs for the current 
versions of your package on CRAN, as there are often minor issues identified on 
other systems (particularly solaris).

Cheers,

Matt


 BW
 
 F
 
 
 
 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)?
 
 
 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?
 
 
 
 Thanks!
 
 Axel.
 
  [[alternative HTML version deleted]]
 
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac
 
 signature.asc___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] My first package

2014-01-20 Thread Simon Urbanek

On Jan 20, 2014, at 4:31 AM, Federico Calboli f.calb...@imperial.ac.uk wrote:

 On 18 Jan 2014, at 14:31, Axel Urbiz axel.ur...@gmail.com wrote:
 
 Hi All,
 
 
 I'm planning to submit my first package to R, and although I read all the
 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
 package.
 
 Is it?

Yes


  this is news to me.  I have a grand total of 2 packages up and I never ever 
 used R-devel, and never ever had a problem, had a report of a problem or had 
 a note from CRAn about my packages not being ok because I built them with 
 R-relase (or whatever it might be called) and not R-devel.
 

You got lucky so far ;). See earlier post - you're answering to an already 
answered thread.

Cheers,
Simon



 BW
 
 F
 
 
 
 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)?
 
 
 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?
 
 
 
 Thanks!
 
 Axel.
 
  [[alternative HTML version deleted]]
 
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac
 
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] My first package

2014-01-20 Thread Matthew Denwood
On 20 Jan 2014, at 09:31, Federico Calboli f.calb...@imperial.ac.uk wrote:

 On 18 Jan 2014, at 14:31, Axel Urbiz axel.ur...@gmail.com wrote:
 
 Hi All,
 
 
 I'm planning to submit my first package to R, and although I read all the
 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
 package.
 
 Is it?  this is news to me.  I have a grand total of 2 packages up and I 
 never ever used R-devel, and never ever had a problem, had a report of a 
 problem or had a note from CRAn about my packages not being ok because I 
 built them with R-relase (or whatever it might be called) and not R-devel.
 

For what it's worth, I also build my packages on the release version of R, but 
I do always first upload to the frankly invaluable win-builder service at 
http://win-builder.r-project.org  - this is mainly to check 
compatibility/issues under Windows (of which there are frequently several), but 
also checks for problems against R-devel (of which I don't think I've ever had 
any).  It is also very worthwhile checking the check logs for the current 
versions of your package on CRAN, as there are often minor issues identified on 
other systems (particularly solaris).

Cheers,

Matt


 F
 
 
 
 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)?
 
 
 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?
 
 
 
 Thanks!
 
 Axel.
 
  [[alternative HTML version deleted]]
 
 ___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac
 
 signature.asc___
 R-SIG-Mac mailing list
 R-SIG-Mac@r-project.org
 https://stat.ethz.ch/mailman/listinfo/r-sig-mac


[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


Re: [R-SIG-Mac] [Rd] My first package

2014-01-20 Thread Gábor Csárdi
On Mon, Jan 20, 2014 at 9:58 AM, Federico Calboli
f.calb...@imperial.ac.ukwrote:
[...]

 I do that *with the current release of R* and I never had an issue
 whatsoever.  Incidentally the words 'This should be done with the current
 version of R-devel (or if that is not possible, current R-patched or the
 current release of R' translate in plainspeak 'run R CMD check --as-cran
 with whatever version of R provided it's not outdated'.


That's an interesting translation. Are you a CRAN maintainer?

I guess you were just lucky so far. Most packages are small and not
affected by changes between R-release and R-devel. But some of them are.

Also, R-devel typically has more rigorous package checks than R-release. My
package was delayed several times because it did not pass checks in R-devel
(it did in R-release). I guess this happened to other packages as well,
hence the sentence above was included in the policies.

Gabor

[[alternative HTML version deleted]]

___
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac