[Bioc-devel] Importing classes into NAMESPACE

Michael Lawrence lawrence.michael at gene.com
Wed Feb 25 14:06:22 CET 2015


On the surface, it sounds like you just need to import() the symbols for
those functions.

On Wed, Feb 25, 2015 at 3:00 AM, Karolis Uziela <
karolis.uziela at scilifelab.se> wrote:

> Hi,
>
> R 3.2 check results give this NOTE for my package ("prebs"):
> granges_from_cdf: no visible global function definition for ‘GRanges’
> granges_from_cdf: no visible global function definition for ‘Rle’
> granges_from_cdf: no visible global function definition for ‘IRanges’
> perform_rpa: no visible global function definition for ‘ExpressionSet’
>
> I get this note for all the classes that I use in my package. Does it mean
> that I incorrectly import classes into NAMESPACE file?
>
> In the NAMESPACE file I have:
>
> importClassesFrom(Biobase,ExpressionSet)
>
> importClassesFrom(GenomicRanges,GRanges)
>
> importClassesFrom(IRanges,IRanges)
>
> importClassesFrom(S4Vectors,Rle)
> Regards,
> Karolis
>
> --
>
> Karolis Uziela
>
> PhD student
> Science for Life Laboratory
> Box 1031
> 17121 Solna, Sweden
> Mob. +46 729 120 395
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> 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