search for: completeextends

Displaying 1 result from an estimated 1 matches for "completeextends".

2004 Jun 18
0
Problem with setValidity() or resetClass() or ... ?
...Class3Def, where = topenv(parent.frame()), doExtends = TRUE) ## 'Extends' includs only "Class2" ## ## would give the right result *in this case* completeClassDefinition("Class3", Class3Def, where = topenv(parent.frame()), doExtends = FALSE) ## (no call to completeExtends(), as doExtends = FALSE) ## probably no good idea validClass3 <- function(object){TRUE} setValidity("Class3", validClass3) ## nothing seems to be lost ## concerning the subclasses! C3 <- new("Class3") is(C3, "Class1") # o.k. extends("Class3", "Cl...