r-lib/R6: Encapsulated Classes with Reference Semantics

Creates classes with reference semantics, similar to R's built-in reference classes. Compared to reference classes, R6 classes are simpler and lighter-weight, and they are not built on S4 classes so they do not require the methods package. These classes allow public and private members, and they support inheritance, even when the classes are defined in different packages.

Getting started

Package details

LicenseMIT + file LICENSE
URL https://r6.r-lib.org https://github.com/r-lib/R6/
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
r-lib/R6 documentation built on May 2, 2022, 8:44 a.m.