get_private | R Documentation |
Provides access to the private members of R6::R6Class objects.
get_private(x)
x |
(any) |
environment()
of private members, or NULL
if x
is not an R6 object.
library(R6)
item = R6Class("Item", private = list(x = 1))$new()
get_private(item)$x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.