R6
R6 copied to clipboard
Default print method could be improved
<Person>
Public:
age: 37
clone: function (deep = FALSE)
initialize: function (name, age = NA)
name: Hadley
# ->
<Person>
Public:
age: 37
clone: function(deep = FALSE) {}
initialize: function(name, age = NA) {}
name: Hadley
We could colour the field names, using the same approach as in glue (i.e. suggest crayon and only use if available)