This commit adds a copy method to all R6 objects It follows the design discussed in #27 . Deep copying is supported through the addition of a deepCopy private method returning a list with a public and/or private element with fields to modify e.g.
See added examples in documentation. Correctness of enclosing environments for both public and private methods as well as active bindings and super methods have been tested, but unit tests are still missing.
This commit adds a copy method to all R6 objects It follows the design discussed in #27 . Deep copying is supported through the addition of a deepCopy private method returning a list with a public and/or private element with fields to modify e.g.
See added examples in documentation. Correctness of enclosing environments for both public and private methods as well as active bindings and super methods have been tested, but unit tests are still missing.