i've seen already the topic on the subjet with this issue :
library(ggraph)
library(igraph)
edges <- flare$edges
vertices <- flare$vertices
mygraph <- graph_from_data_frame(edges, vertices=vertices)
ggraph(mygraph, layout = 'circlepack', weight = 'size')
Error in tree_to_hierarchy(graph, direction, sort.by, weight) :
Weight must be numeric
Removing the quotations on size doesn't do the trick for me and it's the only solution i found so far !
Thank you for your help.