From d2ca2c134dc40248b94d618bfc7ccc76e027ca30 Mon Sep 17 00:00:00 2001 From: schochastics Date: Wed, 22 Jan 2025 20:38:58 +0100 Subject: [PATCH] dont run examples --- R/layout_backbone.R | 4 ++-- man/layout_backbone.Rd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/layout_backbone.R b/R/layout_backbone.R index fb1124c..c0618f1 100644 --- a/R/layout_backbone.R +++ b/R/layout_backbone.R @@ -10,7 +10,7 @@ #' @return list of xy coordinates and vector of edge ids included in the backbone #' @examples #' library(igraph) -#' +#' \dontrun{ #' g <- sample_islands(9, 20, 0.4, 9) #' g <- simplify(g) #' V(g)$grp <- as.character(rep(1:9, each = 20)) @@ -19,7 +19,7 @@ #' # add backbone links as edge attribute #' E(g)$col <- FALSE #' E(g)$col[bb$backbone] <- TRUE -#' +#' } #' @references Nocaj, A., Ortmann, M., & Brandes, U. (2015). Untangling the hairballs of multi-centered, small-world online social media networks. Journal of Graph Algorithms and Applications: JGAA, 19(2), 595-618. #' @export #' diff --git a/man/layout_backbone.Rd b/man/layout_backbone.Rd index b486b51..122b861 100644 --- a/man/layout_backbone.Rd +++ b/man/layout_backbone.Rd @@ -31,7 +31,7 @@ The layout_igraph_* function should not be used directly. It is only used as an } \examples{ library(igraph) - +\dontrun{ g <- sample_islands(9, 20, 0.4, 9) g <- simplify(g) V(g)$grp <- as.character(rep(1:9, each = 20)) @@ -40,7 +40,7 @@ bb <- layout_as_backbone(g, keep = 0.4) # add backbone links as edge attribute E(g)$col <- FALSE E(g)$col[bb$backbone] <- TRUE - +} } \references{ Nocaj, A., Ortmann, M., & Brandes, U. (2015). Untangling the hairballs of multi-centered, small-world online social media networks. Journal of Graph Algorithms and Applications: JGAA, 19(2), 595-618.