Skip to content
Prev 5968 / 21312 Next

[Bioc-devel] [bug] goseq fails when dplyr has been loaded

On 07/13/2014 05:24 AM, Keith Hughitt wrote:
it's better to amend the NAMESPACE to include

   importFrom(AnnotationDbi, select)

The codetoolsBioC package (available from the Bioconductor svn repository) 
suggests (this is not completely reliable) that there might be other namaespace 
import issues. (some would argue for less selective import, because the code is 
then easier to maintain, e.g., import(BiocGenerics), etc).

 > codetoolsBioC::writeNamespaceImports("goseq")
#Generated by codetoolsBioC version 0.0.23
#Timestamp: Sun Jul 13 05:29:07 2014

#Imports: AnnotationDbi, BiasedUrn, BiocGenerics, DBI, geneLenDataBase,
#         GenomeInfoDb, GO.db, graphics, IRanges, methods, mgcv,
#         S4Vectors, stats, utils

importMethodsFrom(AnnotationDbi, select, toTable)

importMethodsFrom(BiocGenerics, as.data.frame, as.vector, cbind,
                   colnames, "colnames<-", get, lapply, mapply, match,
                   ncol, nrow, order, paste, rbind, rownames,
                   "rownames<-", sapply, sort, table, unique, unlist)

importMethodsFrom(DBI, summary)

importMethodsFrom(GenomeInfoDb, "genome<-")

importMethodsFrom(IRanges, gsub, mean, split, tolower, which)

importMethodsFrom(methods, show)

importMethodsFrom(S4Vectors, "%in%", t)

importFrom(BiasedUrn, dWNCHypergeo, pWNCHypergeo)

importFrom(geneLenDataBase, unfactor)

importFrom(graphics, lines, plot)

importFrom(mgcv, gam, mono.con, pcls, Predict.matrix, s, smoothCon)

importFrom(stats, approx, binomial, dhyper, median, phyper, runif)

importFrom(utils, relist)

importFrom(GO.db, GO.db)