RConsortium / S7

S7: a new OO system for R
https://rconsortium.github.io/S7
Other
387 stars 32 forks source link

Default constructor uses `class_missing` #356

Open hadley opened 11 months ago

hadley commented 11 months ago

Which is distracting in documentation.

Maybe we can inline the property defaults instead? Hmmmm, that's feasible but will require some thought about when things get evaluated, e.g. the default for class_environment() can't be the same environment for every constructor.

hadley commented 9 months ago

Closing in favour of #376, which is a more general reconsideration of how defaults should get from properties into the constructor.