In the result, nodes will be duplicated for all their ancestors. As an example: a node on level 2 will be present two times,
the node containing the parent_id in the col_stack column
the node containing the parents parent_id in the col_stack column
Usage
tree_stack_ancestors(data, col_id, col_parent, col_stack, ancestor.cols = c())