search for: extensionobject

Displaying 4 results from an estimated 4 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...
2025 Jan 18
0
How setClass() may introduce a binary dependency between packages
...atrix (gdb) call Rf_PrintValue(R_GlobalContext->call) assign(mname, def, where) (gdb) call Rf_PrintValue(R_GlobalContext->nextcontext->call) assignClassDef(class2, classDef2, where2, TRUE) (gdb) call Rf_PrintValue(R_GlobalContext->nextcontext->nextcontext->call) setIs(class2, cli, extensionObject = obji, doComplete = FALSE, where = where) (gdb) call Rf_PrintValue(R_GlobalContext->nextcontext->nextcontext->nextcontext->call) completeSubclasses(classDef2, class1, obj, where) (gdb) call Rf_PrintValue(R_GlobalContext->nextcontext->nextcontext->nextcontext->nextconte...
2025 Jan 18
0
How setClass() may introduce a binary dependency between packages
...Value(R_GlobalContext->call) > assign(mname, def, where) > (gdb) call Rf_PrintValue(R_GlobalContext->nextcontext->call) > assignClassDef(class2, classDef2, where2, TRUE) > (gdb) call Rf_PrintValue(R_GlobalContext->nextcontext->nextcontext->call) > setIs(class2, cli, extensionObject = obji, doComplete = FALSE, > where = where) > (gdb) call Rf_PrintValue(R_GlobalContext->nextcontext->nextcontext->nextcontext->call) > completeSubclasses(classDef2, class1, obj, where) > (gdb) call Rf_PrintValue(R_GlobalContext->nextcontext->nextcontext->nextc...