R6 icon indicating copy to clipboard operation
R6 copied to clipboard

Encapsulated object-oriented programming for R

Results 53 R6 issues
Sort by recently updated
recently updated
newest added

The following snippet of code fails: ```R library(R6) Base

feature

The vignette could be restructured to have some simplified benchmarks at the top, and then the full benchmarks below.

documentation

``` Public: age: 37 clone: function (deep = FALSE) initialize: function (name, age = NA) name: Hadley # -> Public: age: 37 clone: function(deep = FALSE) {} initialize: function(name, age...

feature

As discussed in rstudio/shiny#657, it would be helpful if a generator object had a way of providing completions for instances of the class. @kevinushey if you have any recommendations for...

feature

If a generator is named `MyClass`, it would be nice to be able to call `MyClass$foo()`. And inside of methods, you'd call `class$foo()`.

feature

Hello, trying to "preview" a document in markdown, and keep getting this issue: Error in loadNamespace(j withRestarts -> withOneRestart -> doWithOneRestart Execution halted Any ideas on how to resolve? FYI,...

The example here: https://github.com/r-lib/R6/blob/507867875fdeaffbe7f7038291256b798f6bb042/vignettes/Performance.Rmd#L712-L723 is too trivial to show the actual differences. A better example would be ```R lst

hi, I made a mistake, accidentally specifying the class itself as inherit, which resulted in an infinite loop. I was surprised to see that is actually even allowed for the...

Would you have a tentative timeline for the next CRAN release?

R6 already provides a `plot.R6` method. Would it be possible to also provide an `autoplot.R6` method, which calls `obj$autoplot()` (if it exists)?