c is a list and cannot be printed.
library(data.tree)
aNestedTree =
list(a = list(
c = list(1:5),
b = 2
))
tree <- FromListSimple(aNestedTree)
do.call("print", c(tree, tree$fieldsAll))
Warning messages:
1: In `[<-.data.frame`(`*tmp*`, colName, value = list(Root = NA, a = NA, :
replacement element 3 has 5 rows to replace 3 rows
2: In `[<-.data.frame`(`*tmp*`, colName, value = list(Root = NA, a = NA, :
provided 3 variables to replace 1 variables
c is a list and cannot be printed.
The warning message is: