search for: myclassth

Displaying 1 result from an estimated 1 matches for "myclassth".

Did you mean: myclass
2023 May 19
1
range() for Date and POSIXct could respect `finite = TRUE`
Hi All, I think there may be some possible confusion about what allowsInf would be reporting (or maybe its just me :) ) if we did this. Consider a class "myclass", S3, for starters, with setMethod("allowsInf", "myclass", function(obj) FALSE) Then, what would myclassthing <- structure(1.5, class = "mything") myclassthing[1] <- Inf do. Assumely it would happily complete without complaint, right, even though allowInf(myclassthing) would return FALSE? Thus an infinite value was allowed. This seems very misleading/counter-intuitive to me. Perhaps th...