Skip to content
Prev 1725 / 21312 Next

[Bioc-devel] class union with AffyBatch

Hi Audrey --

audrey <audrey at ebi.ac.uk> writes:
definitely the last line is not correct.
I think there's something else going on. If I create a package with

DESCRIPTION
-----------
Depends: affy
Imports: Biobase, methods

NAMESPACE
---------
import(methods)
importClassesFrom(Biobase, "ExpressionSet")
exportClasses("OneColour")

R/tmp.R
-------
setClassUnion("OneColour", c("ExpressionSet", "AffyBatch"))

I can build and check without error with
R version 2.8.0 beta (2008-10-09 r46680)

In arrayQualityMetrics, if I add a file like tmp.R, move methods to
Imports: (thinking that the end user doesn't need access to the
functionality of the methods package to use my package), add
imports(methods) and exportClasses("OneColour") then again I can build
and check without errors / warnings.

My only real suggestion is to update R.

Sorry to be less than helpful

Martin