Displaying 1 result from an estimated 1 matches for "ok3".
Did you mean:
ok
2009 Jul 07
0
Protection stack overflow when calling setGeneric()/setMethod() from within .onLoad()
...quot;)
setGeneric("foo", function(x, y) standardGeneric("foo"))
cat(".onLoad(): ok2\n")
setMethod("foo", c("ANY", "ANY"),
function(x, y) cat("calling foo,ANY,ANY method\n")
)
cat(".onLoad(): ok3\n")
}
and with R-2.9.0/R-2.9.1 or recent R-devel.
Note that without the call to gctorture(TRUE), everything *seems* to work
fine:
> library(MyPkg)
.onLoad(): ok1
.onLoad(): ok2
.onLoad(): ok3
but it could be that my session is now corrupted because some users have
reporte...