Re: [Rd] Confusing inheritance problem

2011-07-19 Thread Therneau, Terry M., Ph.D.
t.org Subject: Re: [Rd] 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 meth

Re: [Rd] Confusing inheritance problem

2011-07-19 Thread Hervé Pagès
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(M

Re: [Rd] Confusing inheritance problem

2011-07-18 Thread Terry Therneau
I've packaged the test library up as a tar file at ftp.mayo.edu directory therneau, file ktest.tar login username: mayoftp password: KPlLiFoz This will disappear in 3 days (Mayo is very fussy about outside access). In response to Uwe's comments 1. "2.13.0"

Re: [Rd] Confusing inheritance problem

2011-07-16 Thread Uwe Ligges
On 15.07.2011 23:23, Terry Therneau wrote: I have library in development with a function that works when called from the top level, but fails under R CMD check. The paricular line of failure is rsum<- rowSums(kmat>0) where kmat is a dsCMatrix object. I'm currently stumped and loo

[Rd] Confusing inheritance problem

2011-07-15 Thread Terry Therneau
I have library in development with a function that works when called from the top level, but fails under R CMD check. The paricular line of failure is rsum <- rowSums(kmat>0) where kmat is a dsCMatrix object. I'm currently stumped and looking for some ideas. I've created a stripped