From hpages at fhcrc.org  Fri Mar 25 06:53:01 2011
From: hpages at fhcrc.org (Pages, Herve)
Date: Thu, 24 Mar 2011 22:53:01 -0700
Subject: [Rd] Namespace dependency not required
In-Reply-To: <855976773.839.1301032345000.JavaMail.root@zimbra4.fhcrc.org>
Message-ID: <746574105.841.1301032381329.JavaMail.root@zimbra4.fhcrc.org>

Hi,

  [hpages at localhost pkgreviews]$ R-2.13 CMD check qrqc_0.99.2.tar.gz
  * using log directory ?/home/hpages/pkgreviews/qrqc.Rcheck?
  * using R version 2.13.0 alpha (2011-03-24 r55004)
  * using platform: x86_64-unknown-linux-gnu (64-bit)
  * using session charset: UTF-8
  * checking for file ?qrqc/DESCRIPTION? ... OK
  * this is package ?qrqc? version ?0.99.2?
  * checking package name space information ... OK
  * checking package dependencies ... ERROR
  Namespace dependency not required: RColorBrewer

How I (somewhat naively) interpret this is: it is not required
that I have this namespace dependency. In other words, R CMD check
was able to figure out that my package doesn't use anything from
RColorBrewer internally so I don't need to have this
import(RColorBrewer) directive in my NAMESPACE file.

Which is of course not what 'R CMD check' is trying to tell me.

Couldn't the message say something a little bit less misleading
i.e. something like:

  Namespace dependency not in Imports field: RColorBrewer

Thanks!
H.



[Rd] Namespace dependency not required
Pages, Herve