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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: network
> ### Title: Coercion between 'diffnet', 'network' and 'networkDynamic'
> ### Aliases: network networkDynamic diffnet_to_network
> ###   diffnet_to_networkDynamic networkDynamic_to_diffnet
> ###   network_to_diffnet
> 
> ### ** Examples
> 
> # Cohersing a diffnet to a list of networks ---------------------------------
> set.seed(1)
> ans <- diffnet_to_network(rdiffnet(20, 2))
> ans
$`1`
 Network attributes:
  vertices = 20 
  directed = TRUE 
  hyper = FALSE 
  loops = TRUE 
  multiple = FALSE 
  bipartite = FALSE 
  name = A diffusion network 
  behavior = Random contagion 
  total edges= 20 
    missing edges= 0 
    non-missing edges= 20 

 Vertex attribute names: 
    real_threshold toa vertex.names 

No edge attributes

$`2`
 Network attributes:
  vertices = 20 
  directed = TRUE 
  hyper = FALSE 
  loops = TRUE 
  multiple = FALSE 
  bipartite = FALSE 
  name = A diffusion network 
  behavior = Random contagion 
  total edges= 20 
    missing edges= 0 
    non-missing edges= 20 

 Vertex attribute names: 
    real_threshold toa vertex.names 

No edge attributes

> 
> # and back
> network_to_diffnet(graph.list = ans, toavar="toa")
Dynamic network of class -diffnet-
 Name               : A diffusion network
 Behavior           : Random contagion
 # of nodes         : 20 (1, 2, 3, 4, 5, 6, 7, 8, ...)
 # of time periods  : 2 (1 - 2)
 Type               : directed
 Final prevalence   : 0.20
 Static attributes  : -
 Dynamic attributes : na, real_threshold (2)
> 
> # If it was static, we can use -graph- instead
> network_to_diffnet(ans[[1]], toavar="toa")
Warning in new_diffnet(graph = net, toa = toa, vertex.dyn.attrs = vertex.dyn.attrs,  :
  -graph- is static and will be recycled (see ?new_diffnet).
Dynamic network of class -diffnet-
 Name               : A diffusion network
 Behavior           : Random contagion
 # of nodes         : 20 (1, 2, 3, 4, 5, 6, 7, 8, ...)
 # of time periods  : 2 (1 - 2)
 Type               : directed
 Final prevalence   : 0.20
 Static attributes  : na, real_threshold (2)
 Dynamic attributes : -
> 
> # A random diffusion network ------------------------------------------------
> set.seed(87)
> dn  <- rdiffnet(50, 4)
> ans <- diffnet_to_networkDynamic(dn)
Argument base.net not specified, using first element of network.list instead
Error in eval(formal.args[[as.character(substitute(arg))]], envir = sys.frame(sysP)) : 
  GC encountered a node (0x55e0ad1ecef0) with an unknown SEXP type: 12 at memory.c:1748
Calls: diffnet_to_networkDynamic ... <Anonymous> -> get.edgeIDs -> match.arg -> eval -> eval
Execution halted