roxygen PPtree functions