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(kmat0) where kmat is a dsCMatrix object. I'm currently stumped and

[Rd] NAMESPACE

2011-07-16 Thread Gabor Grothendieck
Packages without explicit ‘NAMESPACE’ files will have a default one created at build or INSTALL time, so all packages will have namespaces. A consequence of this is that ‘.First.lib’ functions need to be renamed, usually as ‘.onLoad’ but sometimes as ‘.onAttach’. Couldn't R simply regard