R6_to_list: Convert an R6 object into a list, ignoring functions and...

View source: R/r6-serialize.R

R6_to_listR Documentation

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

r

R6 object or list

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.

Author(s)

David Sterratt


retistruct documentation built on April 3, 2025, 5:58 p.m.