Skip to content
Prev 14578 / 21307 Next

[Bioc-devel] Pushing towards a better home for matrix generics

Actually there is a 4th solution which is to modify the definition of 
the implicit generics in the methods package (file makeBasicFunsList.R) 
to make them dispatch on their 1st arg only. Should be easy. Then no 
package will need to use a setGeneric statement anymore. Everybody will 
automatically get a clean implicit generic. Including the Matrix package 
which shouldn't need to be touched (except maybe for some aliases in its 
man page that might need to be changed from 
\alias{colSums,dgCMatrix,ANY,ANY-method} to 
\alias{colSums,dgCMatrix-method}).

Anybody wants to try to make a patch for this?

H.
On 1/28/19 19:00, Michael Lawrence wrote: