There is a section in the vignette that describes what should be imported:

DESCRIPTION / NAMESPACE

The package should depend on and fully import ExperimentHub.
...

ExperimentHub depends on AnnotationHub. When ExperimentHub is loaded you
can see AnnotationHub attached to the search path with search().
read.csv is imported in AnnotationHub so adding this dependency should
take care of all the warnings you mentioned.

Are you depending on ExpermentHub?

Valerie

On 11/30/2016 09:52 AM, Marcin Kosiński wrote:
> Hi bioc devs!
>
> In this manual about creeating ExperimentHubData package
> http://www.bioconductor.org/packages/3.4/bioc/vignettes/ExperimentHubData/inst/doc/ExperimentHubData.html
> there is a suggestion to create a zzz.R file where `query` function is used.
>
> This function comes from AnnotationHub package, so there somewhere someone
> should add an information about adding AnnotationHub to Imports in
> DESCRIPTION and about importing query from AnnotationHub in NAMESPACE.
> Without that the CRAN CHECK results in `query is an undocumented object or
> function`. What is more, I even had to add importFrom(utils, read.csv) to
> the NAMESPACE, just from that reason :)
>
> Cheers!
> Marcin
>
>       [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>



This email message may contain legally privileged and/or confidential 
information.  If you are not the intended recipient(s), or the employee or 
agent responsible for the delivery of this message to the intended 
recipient(s), you are hereby notified that any disclosure, copying, 
distribution, or use of this email message is prohibited.  If you have received 
this message in error, please notify the sender immediately by e-mail and 
delete this email message from your computer. Thank you.
_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to