Displaying 1 result from an estimated 1 matches for "r48239".
Did you mean:
d48239
2009 Mar 29
1
Recent setClass fails where previous succeeded
...ic"))
setMethod(initialize, "A", function(.Object, ...) stop("oops"))
setClass("B", representation("A"))
result in
> setClass("B", representation("A"))
Error in initialize(value, ...) : oops
in
R version 2.9.0 alpha (2009-03-28 r48239)
R version 2.10.0 Under development (unstable) (2009-03-28 r48239)
but not in r48182.
In addition, in package code, the error above does NOT lead to removal
of the partially installed package, or of the lock on the package
directory, corrupting the user installation.
For more context, the actu...