Skip to content
Prev 9187 / 21312 Next

[Bioc-devel] some new warnings in a package

I encounter the same issue with EnrichmentBrowser - and apparently,
several other packages too, e.g. ensembldb, erma, ExiMiR ...

The warnings seem to be, at first glance, linked to messages e.g. for
masking:

-----------------------------------------------------------------------

* checking S3 generic/method consistency ... WARNING


Attaching package: 'EnrichmentBrowser'

The following object is masked from 'package:BiocGenerics':

    normalize

See section ?Generic functions and methods? in the ?Writing R
Extensions? manual.

------------------------------------------------------------------------

However, even when renaming the function, so that masking is not necessary
(and the message is thus not given anymore), the issue persists.

There seems to be something weird with the current R-devel (2016-04-29
r70565), as R CMD check as prompts me to import from base packages:

-------------------------------------------------------------------------
Undefined global functions or variables:
  available.packages browseURL capture.output col2rgb data dev.off
  formula head mad median memory.limit model.matrix p.adjust par pchisq
  phyper png pnorm qnorm quantile read.delim rgb rnorm runif sd
  segments symbols text unzip write.table
Consider adding
  importFrom("grDevices", "col2rgb", "dev.off", "png", "rgb")
  importFrom("graphics", "par", "segments", "symbols", "text")
  importFrom("stats", "formula", "mad", "median", "model.matrix",
             "p.adjust", "pchisq", "phyper", "pnorm", "qnorm",
             "quantile", "rnorm", "runif", "sd")
  importFrom("utils", "available.packages", "browseURL",
             "capture.output", "data", "head", "memory.limit",
             "read.delim", "unzip", "write.table")
to your NAMESPACE file.
---------------------------------------------------------------------------

Somebody an idea? Or just waiting for the next R-devel snapshot?

Thx,
Ludwig