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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: exposure
> ### Title: Ego exposure
> ### Aliases: exposure exposure
> ### Keywords: univar
> 
> ### ** Examples
> 
> # Calculating lagged exposure -----------------------------------------------
> 
> set.seed(8)
> graph <- rdiffnet(20, 4)
> 
> expo0 <- exposure(graph)
> expo1 <- exposure(graph, lags = 1)
> 
> # These should be equivalent
> stopifnot(all(expo0[, -4] == expo1[, -1])) # No stop!
> 
> 
> # Calculating the exposure based on Structural Equivalence ------------------
> set.seed(113132)
> graph <- rdiffnet(100, 10)
> 
> SE <- lapply(struct_equiv(graph), "[[", "SE")
> SE <- lapply(SE, function(x) {
+    x <- 1/x
+    x[!is.finite(x)] <- 0
+    x
+ })
> 
> # Recall setting valued equal to TRUE!
> expo_se <- exposure(graph, alt.graph=SE , valued=TRUE)

 *** caught segfault ***
address 0x55d900000011, cause 'memory not mapped'

Traceback:
 1: is(fdef, "genericFunction")
 2: .findMethodInTable(c(from, to), methods)
 3: .quickCoerceSelect(thisClass, Class, coerceFun, coerceMethods,     where)
 4: as(object, superClass)
 5: validityMethod(as(object, superClass))
 6: anyStrings(validityMethod(as(object, superClass)))
 7: validObject(.Object)
 8: .nextMethod(.Object = .Object, ... = ...)
 9: callNextMethod()
10: initialize(value, ...)
11: initialize(value, ...)
12: new("dgeMatrix", Dim = d, Dimnames = dn, x = callGeneric(e1@x,     e2@x))
13: ans/(graph %*% attrs + 1e-20)
14: ans/(graph %*% attrs + 1e-20)
15: as.vector(ans/(graph %*% attrs + 1e-20))
16: .exposure(graph[[i]], cumadopt[, i, drop = FALSE], attrs[, i,     drop = FALSE], outgoing, valued, normalized, self)
17: exposure_for(graph, cumadopt, attrs, outgoing, valued, normalized,     self, lags)
18: exposure.list(as_spmat(graph), cumadopt, attrs, outgoing, valued,     normalized, self, lags)
19: exposure(graph, alt.graph = SE, valued = TRUE)
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault