dot-private_getter: Getter for private slots of R6 objects

Description Usage Arguments Value

Description

This function returns another function which is able to extract private slots. It decreases redundant code and makes class definitions easier to read.

Usage

1
.private_getter(slotname)

Arguments

slotname

Single string, name of private slot.

Value

Function that extracts the private 'slotname' slot from a R6 object.


bggAnalytics documentation built on Sept. 24, 2021, 1:06 a.m.