Open t-kalinowski opened 2 weeks ago
As opposed to just telling people to use NULL
?
I think the core issue is that S7's support for a union class like NULL | class_double
is not very discoverable at the moment. Perhaps a better solution is to add examples in ?new_property
, ?new_class
, and/or ?method<-
.
I'd also think it's overkill. Knowning about and using NULL
should really be part of every intermediate level useR's tools.
Should we add
class_NULL
? The primary benefit would be improved discoverability through autocompletions onS7::class_*
and in the package documentation.