Last updated on 2020-08-07 01:50:12 CEST.
Package | ERROR | OK |
---|---|---|
blockmodeling | 1 | 11 |
Current CRAN status: ERROR: 1, OK: 11
Version: 1.0.0
Check: examples
Result: ERROR
Running examples in ‘blockmodeling-Ex.R’ failed
The error most likely occurred in:
> ### Name: REGE.FC
> ### Title: REGE - Algorithms for compiting (dis)similarities in terms of
> ### regular equivalnece
> ### Aliases: REGE.FC REGE.FC.ow REGE REGE.ow REGE.for REGD.for REGE.ow.for
> ### REGD.ow.for REGE.ownm.for REGE.ownm.diag.for REGE.nm.for
> ### REGE.nm.diag.for REGE.ne.for REGE.ow.ne.for REGE.ownm.ne.for
> ### REGE.nm.ne.for REGD.ne.for REGD.ow.ne.for
> ### Keywords: cluster graphs
>
> ### ** Examples
>
> n <- 20
> net <- matrix(NA, ncol = n, nrow = n)
> clu <- rep(1:2, times = c(5, 15))
> tclu <- table(clu)
> net[clu == 1, clu == 1] <- 0
> net[clu == 1, clu == 2] <- rnorm(n = tclu[1] * tclu[2], mean = 4, sd = 1) * sample(c(0, 1),
+ size = tclu[1] * tclu[2], replace = TRUE, prob = c(3/5, 2/5))
> net[clu == 2, clu == 1] <- 0
> net[clu == 2, clu == 2] <- 0
>
> D <- REGE.for(M = net)$E # Any other REGE function can be used
> plot.mat(net, clu = cutree(hclust(d = as.dist(1 - D), method = "ward.D"),
+ k = 2))
> # REGE returns similarities, which have to be converted to
> # disimilarities
>
> res <- optRandomParC(M = net, k = 2, rep = 10, approaches = "hom", homFun = "ss", blocks = "reg")
Starting optimization of the partiton 1 of 10 partitions.
Starting partition: 1 2 1 1 1 1 1 1 1 2 2 1 2 2 2 2 2 1 1 1
*** caught segfault ***
address 75ed59a4, cause 'memory not mapped'
Traceback:
1: optParC(M = M, clu = temppar, approaches = approaches, blocks = blocks, useMulti = useMulti, save.initial.param = save.initial.param.opt, ...)
2: optRandomParC(M = net, k = 2, rep = 10, approaches = "hom", homFun = "ss", blocks = "reg")
An irrecoverable exception occurred. R is aborting now ...
Flavor: r-patched-solaris-x86