R6_to_list: Convert an R6 object into a list, ignoring functions and
environments
Description
Convert an R6 object into a list, ignoring functions and
environments
Usage
R6_to_list(r, path = "", envs = list())
Arguments
path
root of the path to the list - no need to supply. Not
used but could be developed for pretty-printing
envs
list of environments already encountered - do not set
Value
List with structure mirroring the R6 object.