From moshersteven at gmail.com  Sun Sep 11 07:14:29 2011
From: moshersteven at gmail.com (steven mosher)
Date: Sat, 10 Sep 2011 22:14:29 -0700
Subject: [Rd] Importing from a package with dependencies
In-Reply-To: <CAFFLneS1HD80LfEKg7zB4EZuqGik8DQV9GHsu8zy3P9qTbDWrw@mail.gmail.com>
References: <CAFFLneS1HD80LfEKg7zB4EZuqGik8DQV9GHsu8zy3P9qTbDWrw@mail.gmail.com>
Message-ID: <CAFFLneQFAeuYmeE8bheCbHFCP-HtoaLXD8G2Kk1dvME_DK8sSA@mail.gmail.com>

Disregard.  I found the problem.  A stray  "require" statement I didnt
find on the first pass through the code.

On Sat, Sep 10, 2011 at 6:03 PM, steven mosher <moshersteven at gmail.com> wrote:
> ?I needed to do a little cleanup on my packages ( before trying
> Rd2Roxygen) and that involved
> switching some packages from my Depends list ?to Imports.
>
> Specifically, I had a dependency on "R.utils", but since I only used
> one or two functions
> (gunzip ) I thought it best to importFrom("R.utils",gunzip) in the
> namespace and then switch
> from depending on R.util to Importing.
>
> However, R.utils depends upon R.oo and R.methodsS3. I removed them as
> well from the depends.
>
> Now, when I build the package I get the following warning
>
>
> "library or require call not declared from R.oo
>
> I know this is something stupid I am missing.
>
> I would like to import from R.util ?because of a name clash with
> "raster" ?( extract).
>
> Do I still need to declare a depends on R.oo and R.methodsS3?
>
>
> Thanks
>
> Steve
>



[Rd] Importing from a package with dependencies
steven mosher