Similary to unlist()
recursively unpacks any (possibly nested) structure
into a flat list. In contrast to unlist()
, unpack()
also works with
(possibly nested) Container()
objects. In principle, it works for any
object that can be transformed to a list via as.list
.