CRAN Package Check Results for Package netdiffuseR

Last updated on 2020-03-07 10:47:45 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.21.0 153.04 355.24 508.28 OK
r-devel-linux-x86_64-debian-gcc 1.21.0 102.16 247.75 349.91 ERROR
r-devel-linux-x86_64-fedora-clang 1.21.0 623.54 NOTE
r-devel-linux-x86_64-fedora-gcc 1.21.0 605.14 ERROR
r-devel-windows-ix86+x86_64 1.21.0 354.00 313.00 667.00 NOTE --no-vignettes
r-devel-windows-ix86+x86_64-gcc8 1.21.0 287.00 310.00 597.00 NOTE --no-vignettes
r-patched-linux-x86_64 1.21.0 121.90 311.50 433.40 OK
r-patched-solaris-x86 1.21.0 629.00 OK
r-release-linux-x86_64 1.21.0 118.50 298.66 417.16 ERROR
r-release-windows-ix86+x86_64 1.21.0 235.00 302.00 537.00 NOTE --no-vignettes
r-release-osx-x86_64 1.21.0 NOTE
r-oldrel-windows-ix86+x86_64 1.21.0 229.00 335.00 564.00 NOTE --no-vignettes
r-oldrel-osx-x86_64 1.21.0 NOTE

Check Details

Version: 1.21.0
Check: examples
Result: ERROR
    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
    > ### 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
    + })
    >
    >
    > # These three lines are equivalent to:
    > expo_se2 <- exposure(graph, alt.graph="se", valued=TRUE)
    > # Notice that we are setting valued=TRUE, but this is not necesary since when
    > # alt.graph = "se" the function checks this to be setted equal to TRUE
    >
    > # Weighted Exposure using degree --------------------------------------------
    > eDE <- exposure(graph, attrs=dgr(graph))
    >
    > # Which is equivalent to
    > graph[["deg"]] <- dgr(graph)
    > eDE2 <- exposure(graph, attrs="deg")
    >
    > # Comparing using incoming edges -------------------------------------------
    > eIN <- exposure(graph, outgoing=FALSE)
    Fatal error: GC encountered a node (0x55b2628ccd58) with an unknown SEXP type: 12 at memory.c:1787
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.21.0
Check: installed package size
Result: NOTE
     installed size is 12.4Mb
     sub-directories of 1Mb or more:
     doc 2.3Mb
     libs 8.5Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 1.21.0
Check: examples
Result: ERROR
    Running examples in ‘netdiffuseR-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: exposure
    > ### Title: Ego exposure
    > ### Aliases: 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
    + })
    >
    >
    > # These three lines are equivalent to:
    > expo_se2 <- exposure(graph, alt.graph="se", valued=TRUE)
    > # Notice that we are setting valued=TRUE, but this is not necesary since when
    > # alt.graph = "se" the function checks this to be setted equal to TRUE
    >
    > # Weighted Exposure using degree --------------------------------------------
    > eDE <- exposure(graph, attrs=dgr(graph))
    >
    > # Which is equivalent to
    > graph[["deg"]] <- dgr(graph)
    > eDE2 <- exposure(graph, attrs="deg")
    >
    > # Comparing using incoming edges -------------------------------------------
    > eIN <- exposure(graph, outgoing=FALSE)
    Error in base::`%*%`(x = x, y = y) :
     GC encountered a node (0xa92b988) with an unknown SEXP type: 12 at memory.c:1787
    Calls: exposure ... as.vector -> %*% -> %*%.default -> <Anonymous> -> <Anonymous>
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.21.0
Flags: --no-vignettes
Check: installed package size
Result: NOTE
     installed size is 6.2Mb
     sub-directories of 1Mb or more:
     doc 2.3Mb
     libs 2.3Mb
Flavors: r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.21.0
Check: examples
Result: ERROR
    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
Flavor: r-release-linux-x86_64