The constructors of the S4 classes do not properly deal with the case that sometimes coercion happens for internal reasons and in that process, by default, the initializers get called without arguments. This happens, e.g., if validObject is called.
For this reason, it would be preferable if the constructors allow for an empty construction, which does not call validObject.
Summary
The constructors of the S4 classes do not properly deal with the case that sometimes coercion happens for internal reasons and in that process, by default, the initializers get called without arguments. This happens, e.g., if
validObject
is called. For this reason, it would be preferable if the constructors allow for an empty construction, which does not callvalidObject
.