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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: egonet_attrs
> ### Title: Retrieve alter's attributes (network effects)
> ### Aliases: egonet_attrs
> 
> ### ** Examples
> 
> # Simple example with diffnet -----------------------------------------------
> set.seed(1001)
> diffnet <- rdiffnet(150, 5, seed.graph="small-world")
Warning in (function (graph, p, algorithm = "endpoints", both.ends = FALSE,  :
  The option -copy.first- is set to TRUE. In this case, the first graph will be treated as a baseline, and thus, networks after T=1 will be replaced with T-1.
> 
> # Adding attributes
> indeg <- dgr(diffnet, cmode="indegree")
> head(indeg)
  1 2 3 4 5
1 1 1 2 1 2
2 1 1 1 1 1
3 2 2 2 2 2
4 3 2 4 3 2
5 5 6 4 4 4
6 2 1 2 2 2
> diffnet[["indegree"]] <- indeg
> 
> # Retrieving egonet's attributes (vertices 1 and 20)
> egonet_attrs(diffnet, V=c(1,20))
$`1`
$`1`$`1`
     id value per toa real_threshold indegree
2     2     1   1   2    0.242223512        1
150 150     1   1  NA    0.005603659        2

$`1`$`20`
   id value per toa real_threshold indegree
19 19     1   1  NA      0.8361915        2
21 21     1   1  NA      0.6509093        1


$`2`
$`2`$`1`
     id value per toa real_threshold indegree
2     2     1   2   2    0.242223512        1
150 150     1   2  NA    0.005603659        2

$`2`$`20`
   id value per toa real_threshold indegree
19 19     1   2  NA      0.8361915        3
21 21     1   2  NA      0.6509093        2


$`3`
$`3`$`1`
     id value per toa real_threshold indegree
2     2     1   3   2    0.242223512        1
150 150     1   3  NA    0.005603659        2

$`3`$`20`
   id value per toa real_threshold indegree
19 19     1   3  NA      0.8361915        3
21 21     1   3  NA      0.6509093        1


$`4`
$`4`$`1`
     id value per toa real_threshold indegree
2     2     1   4   2    0.242223512        1
150 150     1   4  NA    0.005603659        2

$`4`$`20`
   id value per toa real_threshold indegree
21 21     1   4  NA      0.6509093        1
90 90     1   4  NA      0.6757134        3


$`5`
$`5`$`1`
     id value per toa real_threshold indegree
2     2     1   5   2    0.242223512        1
150 150     1   5  NA    0.005603659        1

$`5`$`20`
   id value per toa real_threshold indegree
19 19     1   5  NA      0.8361915        2
21 21     1   5  NA      0.6509093        2


> 
> # Example with a static network ---------------------------------------------
> 
> set.seed(1231)
> n <- 20
> net <- rgraph_ws(n = n, k = 4, p = .5)
> someattr <- matrix(rnorm(n * 2), ncol= 2, dimnames = list(NULL, c("a", "b")))
Error in rnorm(n * 2) : invalid arguments
Calls: matrix -> rnorm
Execution halted