We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92e54c commit 7a387a0Copy full SHA for 7a387a0
R/nested-to-tree.R
@@ -9,10 +9,16 @@
9
create_tree <- function(text, structure_only = FALSE) {
10
compute_parse_data_nested(text) %>%
11
pre_visit(c(default_style_guide_attributes)) %>%
12
- create_node_from_nested_root(structure_only) %>%
+ create_tree_from_pd_with_default_style_attributes(structure_only)
13
+}
14
+
15
+create_tree_from_pd_with_default_style_attributes <- function(pd, structure_only = FALSE) {
16
+ pd %>%
17
+ create_node_from_nested_root(structure_only) %>%
18
as.data.frame()
19
}
20
21
22
#' Convert a nested tibble into a node tree
23
#'
24
#' This function is convenient to display all nesting levels of a nested tibble
0 commit comments