R6 icon indicating copy to clipboard operation
R6 copied to clipboard

Default print method could be improved

Open hadley opened this issue 6 years ago • 0 comments

<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)

hadley avatar Jul 24 '17 13:07 hadley