Skip to content
Prev 40810 / 63421 Next

Confusing inheritance problem

Hi Terry,

You use a NAMESPACE but you don't import Matrix.
So it looks like the "rowSums" method for CsparseMatrix objects
cannot be found (not sure why because you do have Matrix in the
Depends field so the rowSums generic and methods should be in the
search path).

Anyway, just adding

import(Matrix)

to the NAMESPACE file solves the problem for me.

Cheers,
H.
On 11-07-18 09:16 AM, Terry Therneau wrote: