R6: Classes with Reference Semantics

The R6 package allows the creation of 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.

Install the latest version of this package by entering the following in R:
install.packages("R6")
AuthorWinston Chang [aut, cre]
Date of publication2016-10-05 09:29:43
MaintainerWinston Chang <winston@stdout.org>
LicenseMIT + file LICENSE
Version2.2.0
https://github.com/wch/R6/

View on CRAN

Files

inst
inst/doc
inst/doc/Introduction.Rmd
inst/doc/Debugging.html
inst/doc/Portable.html
inst/doc/Debugging.R
inst/doc/Debugging.Rmd
inst/doc/Performance.Rmd
inst/doc/Introduction.R inst/doc/Performance.R
inst/doc/Introduction.html
inst/doc/Portable.Rmd
inst/doc/Portable.R
inst/doc/Performance.html
tests
tests/manual
tests/manual/test-inheritance.R
tests/manual/README
tests/manual/encapsulation.R tests/testthat.R
tests/testthat
tests/testthat/test-portable.R tests/testthat/test-portable-inheritance.R tests/testthat/test-nonportable.R tests/testthat/test-nonportable-inheritance.R tests/testthat/test-set.R tests/testthat/test-clone.R tests/testthat/helper.R tests/testthat/test-finalizer.R tests/testthat/test-s3-methods.R
NAMESPACE
NEWS.md
R
R/utils.R R/aaa.R R/clone.R R/new.R R/generator_funs.R R/env_utils.R R/is.R R/print.R R/r6_class.R R/aslist.R
vignettes
vignettes/Introduction.Rmd
vignettes/Debugging.Rmd
vignettes/Performance.Rmd
vignettes/mystyle.css
vignettes/Portable.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/as.list.R6.Rd man/is.R6.Rd man/R6Class.Rd
LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.