search for: assignclassdef

Displaying 4 results from an estimated 4 matches for "assignclassdef".

2018 Oct 26
2
Bug report for sealClass() in Core-maintained package "methods"
...ere <- findClass(Class, unique = "sealing the class", where = where) Because findClass() always returns a list (even if argument 'unique' contains a character string), this assigns a list of length 1 to variable 'where'. This then throws an error in the subsequent line assignClassDef(Class, classDef, where) For this reason, the abovementioned line should instead read: if (missing(where)) where <- findClass(Class, unique = "sealing the class", where = where)[[1]] Thanks very much, Adam Gower agower at bu.edu<mailto:agower at bu.edu> [[alternative HTML ver...
2018 Oct 27
0
Bug report for sealClass() in Core-maintained package "methods"
...Class, unique = "sealing the class", where = where) > > Because findClass() always returns a list (even if argument 'unique' contains a character string), this assigns a list of length 1 to variable 'where'. > This then throws an error in the subsequent line > assignClassDef(Class, classDef, where) > > For this reason, the abovementioned line should instead read: > if (missing(where)) where <- findClass(Class, unique = "sealing the class", where = where)[[1]] > > Thanks very much, > Adam Gower > agower at bu.edu<mailto:agower at b...
2025 Jan 18
0
How setClass() may introduce a binary dependency between packages
...NamespaceEnvSpec(rho)) name version "SeuratObject" "4.1.3" (gdb) call Rf_PrintValue(symbol) .__C__CsparseMatrix (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) c...
2025 Jan 18
0
How setClass() may introduce a binary dependency between packages
...me version > "SeuratObject" "4.1.3" > (gdb) call Rf_PrintValue(symbol) > .__C__CsparseMatrix > (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->nex...