Skip to content
Back to formatted view

Raw Message

Message-ID: <CAO-arWOmagHrNTudmz4Gd0mh9TeriZruuVYFeCGbRXw4uaPKjw@mail.gmail.com>
Date: 2012-03-21T20:12:56Z
From: Benilton Carvalho
Subject: [Bioc-devel] Avoiding pkgs in Depends

Hi,

say I need a few functions from Biobase and for a number of reasons I
don't want it in Depends.

So I add it to Imports and, in my NAMESPACE file, I add something like:

importFrom(Biobase, assayDataElementNames)

Everything works as expected...

But if I want to use assayDataElementNames in one of the examples, it
won't be available for obvious reasons.

What is the proper strategy to follow?

1) Do a library(Biobase) explicitly in the example? (Maybe
library(pkg) is only bad within methods/functions, but acceptable in
examples?)

2) Use Biobase::assayDataElementNames in the example?

3) Export, from my package, assayDataElementNames??? This seems
incorrect/inappropriate and will even bug me to write a man page for
assayDataElementNames, which already exists in Biobase.

Thanks,

benilton