Hi Lluís,
> So your setter method `[<-` could have this call inside it, and this
> would prevent the creation of an invalid object.
Thank you for solving my issue! I wasn't successful trying something
similar earlier because I was passing no arguments to callNextMethod(),
but retrying your s
Hi Pariksheet,
You can check if the object is valid inside your methods.
I use something like:
method <- function(...) {
# Input processing
validObject(object)
object
}
So your setter method `[<-` could have this call inside it, and this
would prevent the creation of an invalid obje