A fix for this and related problems is now committed (r48803).
Some of the interesting ways that validObject() could fail previously
are in the attached regression-test file.
John
John Chambers wrote:
Patrick,
Thanks for the bug report and the proposed patch.
There are some related ways th
Patrick,
Thanks for the bug report and the proposed patch.
There are some related ways that validObject can fail (e.g., if the
revised class definition extends one of the object types or if the
object is an S3 object), so the patch needs to be a little more general,
but I will commit somethin
I have been retooling an S4 class definition to include another slot and
have found that the methods::validObject function (defined in
methods/R/SClasses.R) in R-devel throws an error that isn't caught
internally (and thus not controllable by 'test' argument) when
retrieving a non-existent slot