[Bioc-devel] NAMESPACE question

Michael Lawrence lawrence.michael at gene.com
Wed Oct 8 04:05:45 CEST 2014

I think the intent there is that if you virtually always need a package to
generate the input or analyze the output of a documented function, it
should be in Depends. If it's a package that is only useful for
demonstration, it should be in Suggests, and one should abide by the same
guidelines (requireNamespace, etc) as Martin contributed.

On Tue, Oct 7, 2014 at 6:00 PM, Dario Strbenac <dstr7320 at uni.sydney.edu.au>

> The guidelines state :
> Depends: is appropriate when a package is used in the example section of a
> man page.
> I think such packages should be in Suggests. In the example, the package
> should be loaded by :
> if(require(examplePackage))
> {
>   exampleFunction(data)
> }
> --------------------------------------
> Dario Strbenac
> PhD Student
> University of Sydney
> Camperdown NSW 2050
> Australia
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel

	[[alternative HTML version deleted]]

More information about the Bioc-devel mailing list