r-lib / R6

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

updated formatting in print.R6 (fixes #173) #174

Closed jameslamb closed 4 years ago

jameslamb commented 5 years ago

@wch On #171 , you recommended I look at #173 .

Please consider this PR that I think addresses it.

An example:

thing <- R6::R6Class(
    classname = "thing",
    public = list(
        some_func = function(x = TRUE){NULL}
        , x = 5
    )
)
print(thing)
jameslamb commented 5 years ago

@wch Friendly reminder about this small PR

jameslamb commented 4 years ago

I am going to close this. Someone else can pick up the issue.