[Rd] How to list package dependency on a Bioconductor package?

2012-01-03 Thread Steven Lund
I know others have asked similar questions to the R developers, but I could not find the solution to this question. Please forgive me if I have missed a crucial point in a previous post. I would like to submit a package to CRAN that depends on the bioconductor package "edgeR". Listing "edgeR" un

Re: [Rd] How to list package dependency on a Bioconductor package?

2012-01-03 Thread Uwe Ligges
On 03.01.2012 00:16, Steven Lund wrote: I know others have asked similar questions to the R developers, but I could not find the solution to this question. Please forgive me if I have missed a crucial point in a previous post. I would like to submit a package to CRAN that depends on the bioco

[Rd] returning information from functions via attributes rather than return list

2012-01-03 Thread Paul Johnson
I would like to ask for advice from R experts about the benefits or dangers of using attr to return information with an object that is returned from a function. I have a feeling as though I have cheated by using attributes, and wonder if I've done something fishy. Maybe I mean to ask, where is the

Re: [Rd] returning information from functions via attributes rather than return list

2012-01-03 Thread Simon Urbanek
Paul, On Jan 3, 2012, at 3:08 PM, Paul Johnson wrote: > I would like to ask for advice from R experts about the benefits or > dangers of using attr to return information with an object that is > returned from a function. I have a feeling as though I have cheated by > using attributes, and wonder