On Wed, Mar 21, 2012 at 4:12 PM, Benilton Carvalho <
beniltoncarvalho@gmail.com> wrote:

> 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?)
>
>
I have been doing:


> 2) Use Biobase::assayDataElementNames in the example?
>
>
I agree that this should not be done for this purpose:


> 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
>
> _______________________________________________
> Bioc-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>

	[[alternative HTML version deleted]]

