memnet package: Error in if (class(adj) != “igraph”) { :condition has length > 1
I try to use “memnet” package in R (https://rdrr.io/cran/memnet/f/vignettes/memnet.Rmd).
I have a problem with the function: network_plot(grow_st(20, 2)) ->
Error in if (class(adj) != “igraph”) { :the condition has length > 1