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.

Total

14,064,026

Last month

593,078

Last week

155,634

Average per day

19,769

Daily downloads

Total downloads

Description file content

Package
R6
Title
Encapsulated Classes with Reference Semantics
Version
2.4.0
Description
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.
Depends
R (>= 3.0)
Suggests
knitr, microbenchmark, pryr, testthat, ggplot2, scales
License
MIT + file LICENSE
URL
LazyData
true
BugReports
https://github.com/r-lib/R6/issues
RoxygenNote
6.1.1
NeedsCompilation
no
Packaged
2019-02-14 18:34:54 UTC; winston
Author
Winston Chang [aut, cre]
Maintainer
Winston Chang
Repository
CRAN
Date/Publication
2019-02-14 19:42:14 UTC

install.packages('R6')

2.4.0

5 days ago

https://r6.r-lib.org

Winston Chang

MIT + file LICENSE

Depends on

R (>= 3.0)

Suggests

knitr, microbenchmark, pryr, testthat, ggplot2, scales

Discussions