dot-private_getter: Getter for private slots of R6 objects

.private_getterR Documentation

Getter for private slots of R6 objects

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

.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 Aug. 31, 2022, 5:09 p.m.