source_classR Documentation

Source class

Description

Sources R6 class from text, prepends namespace to 'R6Class' in order to not require 'R6' to be loaded.

Usage

source_class(txt)

Arguments

txt

Character, text containing class definition

Value

R6 class