Re: [Rd] DESCRIPTION file and Rd examples

2011-04-17 Thread Thomas Lumley
On Mon, Apr 18, 2011 at 2:00 PM, Dario Strbenac wrote: > It turns out what I needed was IRanges in the Imports: field. I assumed that > require(GenomicRanges) at the top of my function would, as a result of > loading GenomicRanges, implicitly already know about all the IRanges classes, > becaus

Re: [Rd] DESCRIPTION file and Rd examples

2011-04-17 Thread Dario Strbenac
>Date: Fri, 15 Apr 2011 20:34:54 -0700 >From: Martin Morgan >Subject: Re: [Rd] DESCRIPTION file and Rd examples >To: Simon Urbanek >Cc: d.strbe...@garvan.org.au, r-devel@r-project.org > >On 04/15/2011 11:18 AM, Simon Urbanek wrote: >> >> On Apr 14, 2011,

Re: [Rd] DESCRIPTION file and Rd examples

2011-04-15 Thread Martin Morgan
On 04/15/2011 11:18 AM, Simon Urbanek wrote: On Apr 14, 2011, at 11:00 PM, Dario Strbenac wrote: I have a confusing error from R CMD check that I don't get when running the example manually by hand. In the \examples section of an Rd file, I create a GRanges object, then I call a function wi

Re: [Rd] DESCRIPTION file and Rd examples

2011-04-15 Thread Simon Urbanek
On Apr 14, 2011, at 11:00 PM, Dario Strbenac wrote: > I have a confusing error from R CMD check that I don't get when running the > example manually by hand. > > In the \examples section of an Rd file, I create a GRanges object, then I > call a function with the GRanges object, whose first 2 l

Re: [Rd] DESCRIPTION file and Rd examples

2011-04-15 Thread Uwe Ligges
It would probably be helpful if you could point us to the source version of your package so that we can take a look what happens. Which version of R, and the other required packages are you talking about? Uwe Ligges On 15.04.2011 05:00, Dario Strbenac wrote: I have a confusing error from R

[Rd] DESCRIPTION file and Rd examples

2011-04-14 Thread Dario Strbenac
I have a confusing error from R CMD check that I don't get when running the example manually by hand. In the \examples section of an Rd file, I create a GRanges object, then I call a function with the GRanges object, whose first 2 lines are require(GenomicRanges) annoDF <- as.data.frame