Running examples in ‘TOmicsVis-Ex.R’ failed
The error most likely occurred in:

> ### Name: go_enrich_tree
> ### Title: GO enrichment analysis and tree plot (None/Exist Reference
> ###   Genome).
> ### Aliases: go_enrich_tree
> 
> ### ** Examples
> 
> # 1. Library TOmicsVis package
> library(TOmicsVis)
> 
> # 2. Use example dataset
> data(go_anno)
> head(go_anno)
      id
1 gene_1
2 gene_2
3 gene_3
4 gene_4
5 gene_5
6 gene_6
                                                                                                biological_process
1 GO:0003181(atrioventricular valve morphogenesis);GO:0003128(heart field specification);GO:0001756(somitogenesis)
2                                                                                                             <NA>
3                                                                                                             <NA>
4 GO:0003181(atrioventricular valve morphogenesis);GO:0003128(heart field specification);GO:0001756(somitogenesis)
5                                                                                GO:0006956(complement activation)
6                                                                                                             <NA>
                   cellular_component
1    GO:0005576(extracellular region)
2     GO:0005615(extracellular space)
3                                <NA>
4    GO:0005576(extracellular region)
5 GO:0005579(membrane attack complex)
6                                <NA>
                            molecular_function
1                                         <NA>
2 GO:0004866(endopeptidase inhibitor activity)
3                                         <NA>
4                                         <NA>
5                                         <NA>
6                                         <NA>
> 
> data(go_deg_fc)
> head(go_deg_fc)
       id log2FC
1  gene_5  -1.20
2 gene_12  -1.25
3 gene_15  -1.30
4 gene_22  -1.35
5 gene_28  -1.40
6 gene_33  -1.45
> 
> # 3. Default parameters
> go_enrich_tree(go_anno, go_deg_fc)
Warning: Expected 2 pieces. Additional pieces discarded in 33 rows [439, 1170, 1280,
1307, 1416, 1586, 1655, 1656, 1661, 1722, 2040, 2064, 2082, 2083, 2165, 2402,
2684, 2736, 2861, 2902, ...].
Warning in treeplot.enrichResult(x, ...) :
  Use 'hilight.params = list(hilight = your_value)' instead of 'hilight'.
 The hilight parameter will be removed in the next version.
Warning in treeplot.enrichResult(x, ...) :
  Use 'offset.params = list(tiplab = your_value)' instead of 'offset_tiplab'.
 The offset_tiplab parameter will be removed in the next version.
Warning in treeplot.enrichResult(x, ...) :
  Use 'offset.params = list(extend = your_value)' instead of 'extend'.
 The extend parameter will be removed in the next version.
Warning in treeplot.enrichResult(x, ...) :
  Use 'cluster.params = list(method = your_value)' instead of 'hclust_method'.
 The hclust_method parameter will be removed in the next version.
Warning in treeplot.enrichResult(x, ...) :
  Use 'cluster.params = list(n = your_value)' instead of 'nCluster'.
 The nCluster parameter will be removed in the next version.
Warning in treeplot.enrichResult(x, ...) :
  Use 'cluster.params = list(color = your_value)' instead of 'group_color'.
 The group_color parameter will be removed in the next version.
Warning in treeplot.enrichResult(x, ...) :
  Use 'cluster.params = list(label_words_n = your_value)' instead of 'nWords'.
 The nWords parameter will be removed in the next version.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
! # Invaild edge matrix for <phylo>. A <tbl_df> is returned.
Error in offspring.tbl_tree_item(.data = .data, .node = .node, tiponly = tiponly,  : 
  could not find function "offspring.tbl_tree_item"
Calls: go_enrich_tree ... get_cladelabel_position -> get_cladelabel_position_ -> offspring.tbl_tree
Execution halted