[Rd] R-2.15.0 and Exporting Methods Converted To S4 Generic

From: Roebuck,Paul L <proebuck_at_mdanderson.org>
Date: Thu, 12 Apr 2012 13:41:02 -0500

Late to the show on this release, unfortunately. One of our production packages no longer builds under R-2.15.0 with the following message.

Possibly relevant clues follow:

## From R/AllGenerics.R

if (!isGeneric("image")) {


               function(x, ...) standardGeneric("image")) }

We have done the same for many S3 generics, converting them to S4 and adding specific method-combinations as such...

## From various other R files...
setMethod("image", signature(x="RPPA"), ... setMethod("image", signature(x="RPPADesign"), ...

And then exported them for use outside the package.


importFrom("graphics", image)


If the problem is because of the exportMethods(), I'm left stumped as to how to work around this. Making our S4 objects useable externally was kind of the point.

Source package available, if needed.

oompa <- "http://bioinformatics.mdanderson.org/OOMPA/2.14" download.packages("SuperCurve", destdir=".", repos=oompa, type="source")

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 12 Apr 2012 - 18:50:14 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 13 Apr 2012 - 09:00:43 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive