search for: extensionobject

Displaying 2 results from an estimated 2 matches for "extensionobject".

2003 Sep 02
1
completeSubclasses() methods bug (PR#4051)
...quot; defaults to topEnv() and fails because "aafGO" doesn't exist in that environment and "list" is sealed. completeSubclasses should be specifying my package for "where" instead of using the default. > library(annaffy) Error in setIs(class2, obji@superClass, extensionObject = obji, doComplete = FALSE) : Cannot create a setIs relation when neither of the classes ("aafGO" and "list") is local and modifiable in this package Error in setClass("aafGO", "aafList", prototype = list(), where = where) : Error in contain...
2004 Oct 08
0
user interface and documentation of setIs and setAs, some suggestions (S4).
...ot;MVCa","list",coerce=function(obj){obj@list},replace=function(obj,value){obj@list<-value}) 2) At the same time in the usage section: setIs(class1, class2, test=NULL, coerce=NULL, replace=NULL, by = character(), where = topenv(parent.frame()), classDef =, extensionObject = NULL, doComplete = TRUE) 3) and finally in the argument section: the object to 'class2', and to alter the object so that 'is(object, class2)' is identical to 'value'. I much more like how setAs is implemented, we cast _from_ _to_ and so the arguments in a...