CRAN Package Check Results for Package netdiffuseR

Last updated on 2026-03-26 08:50:07 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.24.0 122.28 346.79 469.07 ERROR
r-devel-linux-x86_64-debian-gcc 1.24.0 83.73 218.02 301.75 ERROR
r-devel-linux-x86_64-fedora-clang 1.24.0 189.00 559.64 748.64 ERROR
r-devel-linux-x86_64-fedora-gcc 1.24.0 244.00 591.02 835.02 ERROR
r-devel-macos-arm64 1.24.0 24.00 59.00 83.00 OK
r-devel-windows-x86_64 1.24.0 140.00 252.00 392.00 ERROR --no-vignettes
r-patched-linux-x86_64 1.24.0 105.29 299.49 404.78 ERROR
r-release-linux-x86_64 1.24.0 104.42 315.93 420.35 OK
r-release-macos-arm64 1.24.0 21.00 61.00 82.00 OK
r-release-macos-x86_64 1.24.0 73.00 368.00 441.00 OK
r-release-windows-x86_64 1.24.0 124.00 251.00 375.00 OK --no-vignettes
r-oldrel-macos-arm64 1.24.0 21.00 65.00 86.00 NOTE
r-oldrel-macos-x86_64 1.24.0 73.00 360.00 433.00 NOTE
r-oldrel-windows-x86_64 1.24.0 155.00 303.00 458.00 NOTE --no-vignettes

Check Details

Version: 1.24.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: round_to_seq > ### Title: Takes a numeric vector and maps it into a finite length sequence > ### Aliases: round_to_seq > > ### ** Examples > > > x <- rnorm(100) > w <- data.frame(as.integer(round_to_seq(x, as_factor = TRUE)),x) > plot(w,x) Error in attr(x, "formula") %||% { : invalid formula Calls: plot ... plot.data.frame -> <Anonymous> -> formula -> formula.default -> %||% Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed diffusionMap 6.440 0.031 7.628 degree_adoption_diagnostic 5.201 0.051 6.049 rewire_graph 4.931 0.068 5.710 Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.24.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: round_to_seq > ### Title: Takes a numeric vector and maps it into a finite length sequence > ### Aliases: round_to_seq > > ### ** Examples > > > x <- rnorm(100) > w <- data.frame(as.integer(round_to_seq(x, as_factor = TRUE)),x) > plot(w,x) Error in attr(x, "formula") %||% { : invalid formula Calls: plot ... plot.data.frame -> <Anonymous> -> formula -> formula.default -> %||% Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.24.0
Check: examples
Result: ERROR Running examples in ‘netdiffuseR-Ex.R’ failed The error most likely occurred in: > ### Name: round_to_seq > ### Title: Takes a numeric vector and maps it into a finite length sequence > ### Aliases: round_to_seq > > ### ** Examples > > > x <- rnorm(100) > w <- data.frame(as.integer(round_to_seq(x, as_factor = TRUE)),x) > plot(w,x) Error in attr(x, "formula") %||% { : invalid formula Calls: plot ... plot.data.frame -> <Anonymous> -> formula -> formula.default -> %||% Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.24.0
Flags: --no-vignettes
Check: examples
Result: ERROR Running examples in 'netdiffuseR-Ex.R' failed The error most likely occurred in: > ### Name: round_to_seq > ### Title: Takes a numeric vector and maps it into a finite length sequence > ### Aliases: round_to_seq > > ### ** Examples > > > x <- rnorm(100) > w <- data.frame(as.integer(round_to_seq(x, as_factor = TRUE)),x) > plot(w,x) Error in attr(x, "formula") %||% { : invalid formula Calls: plot ... plot.data.frame -> <Anonymous> -> formula -> formula.default -> %||% Execution halted Flavor: r-devel-windows-x86_64

Version: 1.24.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, 4) > > 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) > > # Structral equivalence for different communities --------------------------- > data(medInnovationsDiffNet) > > # Only using 4 time slides, this is for convenience > medInnovationsDiffNet <- medInnovationsDiffNet[, , 1:4] > > # METHOD 1: Using the c.diffnet method: > > # Creating subsets by city > cities <- unique(medInnovationsDiffNet[["city"]]) > > diffnet <- medInnovationsDiffNet[medInnovationsDiffNet[["city"]] == cities[1]] > diffnet[["expo_se"]] <- exposure(diffnet, alt.graph="se", valued=TRUE) *** caught segfault *** address (nil), cause 'unknown' Traceback: 1: ..subscript.2ary(x, l[[1L]], l[[2L]], drop = drop[1L]) 2: .subscript.2ary(x, i, , drop = TRUE) 3: d[ids[, 1], ] 4: d[ids[, 1], ] 5: euclidean_distance(gdist) 6: struct_equiv_new(geod, v) 7: struct_equiv.dgCMatrix(methods::as(graph[[i]], "dgCMatrix"), v, inf.replace, groupvar, ...) 8: struct_equiv.list(graph, v, inf.replace, groupvar, ...) 9: struct_equiv(graph, groupvar = groupvar, ...) 10: lapply(struct_equiv(graph, groupvar = groupvar, ...), "[[", "SE") 11: exposure(diffnet, alt.graph = "se", valued = TRUE) An irrecoverable exception occurred. R is aborting now ... Segmentation fault Examples with CPU (user + system) or elapsed time > 5s user system elapsed diffusionMap 6.194 0.055 7.049 degree_adoption_diagnostic 4.840 0.071 5.583 Flavor: r-patched-linux-x86_64

Version: 1.24.0
Check: installed package size
Result: NOTE installed size is 10.8Mb sub-directories of 1Mb or more: doc 2.4Mb help 1.3Mb libs 5.8Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 1.24.0
Flags: --no-vignettes
Check: installed package size
Result: NOTE installed size is 6.5Mb sub-directories of 1Mb or more: doc 2.4Mb help 1.3Mb libs 1.5Mb Flavor: r-oldrel-windows-x86_64