extend-constructive: Extend constructive

extend-constructiveR Documentation

Extend constructive

Description

We export a collection of functions that can be used to design custom methods for .cstr_construct() or custom constructors for a given method.

  • .cstr_new_class() : Open template to support a new class

  • .cstr_new_constructor() : Open template to implement a new constructor

  • .cstr_construct() : Low level generic for object construction code generation

  • .cstr_repair_attributes()' : Helper to repair attributes of objects

  • .cstr_options() : Define and check options to pass to custom constructors

  • .cstr_apply() : Build recursively the arguments passed to your constructor

  • .cstr_wrap() : Wrap argument code in function code (rarely needed)

  • .cstr_pipe() : Pipe a call to another (rarely needed)

  • .cstr_combine_errors() : helper function report several errors at once when relevant


constructive documentation built on April 3, 2025, 9:39 p.m.