From groemp at tfh-berlin.de  Fri Mar 23 13:13:56 2007
From: groemp at tfh-berlin.de (=?UTF-8?Q?Ulrike_Gr=C3=B6mping?=)
Date: Fri, 23 Mar 2007 05:13:56 -0700 (PDT)
Subject: [Rd] Bug in str or issue with class management in my package?
Message-ID: <9633559.post@talk.nabble.com>


Dear developeRs,

with R 2.4.1 (and also 2.4.0), the function str() fails on objects of class
relimplmbooteval, if there are unused slots, which is very often the case. I
am not sure whether this is a bug in str() or a correct behavior of str()
that unmasks some sloppiness in my usage of S4 classes (that I am not aware
of)?

Reproducible example (package relaimpo needed):

The program 

require(relaimpo)
bte<-booteval.relimp(boot.relimp(swiss,b=100))
str(bte)

yields the error message

Errorr in FUN(c("lmg.lower", "lmg.upper", "lmg.rank.lower",
"lmg.rank.upper",  : 
        no slot named "pmvd.lower" for this object of class
"relimplmbooteval"
(back-translated from German).

Regards, Ulrike
-- 
View this message in context: http://www.nabble.com/Bug-in-str-or-issue-with-class-management-in-my-package--tf3453429.html#a9633559
Sent from the R devel mailing list archive at Nabble.com.



[Rd] Bug in str or issue with class management in my package?
=?UTF-8?Q?Ulrike_Gr=C3=B6mping?=