treeplot(ego2, showCategory = 10)
! # Invaild edge matrix for . A is returned.
! # Invaild edge matrix for . A is returned.
! # Invaild edge matrix for . A is returned.
! # Invaild edge matrix for . A is returned.
! # Invaild edge matrix for . A is returned.
! # Invaild edge matrix for . A is returned.
! # Invaild edge matrix for . A is returned.
! # Invaild edge matrix for . A is returned.
! # Invaild edge matrix for . A is returned.
! # Invaild edge matrix for . A is returned.
! # Invaild edge matrix for . A is returned.
! # Invaild edge matrix for . A is returned.
Error in scale$guide == "none" :
comparison (==) is possible only for atomic and list types
I am trying to run the exact same code of treeplot from https://rdrr.io/github/GuangchuangYu/enrichplot/man/treeplot.html
But getting the following error