r-lib / R6

Encapsulated object-oriented programming for R
https://R6.r-lib.org
Other
405 stars 56 forks source link

Print method shows fields which are R6 objects as environments #88

Closed wch closed 8 years ago

wch commented 8 years ago

While technically accurate, it would be better if it said AC object or something like that.

AC <- R6Class("AC", public = list(x = NULL))

a <- AC$new()
a$x <- AC$new()
# <AC>
#   Public:
#     clone: function (deep = FALSE) 
#     x: environment