* using log directory ‘/srv/hornik/tmp/CRAN_pretest/netdiffuseR.Rcheck’ * using R Under development (unstable) (2025-06-10 r88298) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3) Debian flang-new version 19.1.7 (3) * running under: Debian GNU/Linux 13 (trixie) * using session charset: UTF-8 * checking for file ‘netdiffuseR/DESCRIPTION’ ... OK * this is package ‘netdiffuseR’ version ‘1.23.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [6s/10s] NOTE Maintainer: ‘George Vega Yon ’ Found the following (possibly) invalid URLs: URL: https://barabasi.com/book/network-science From: man/rgraph_ba.Rd man/rgraph_er.Rd Status: 404 Message: Not Found URL: https://github.com/USCCANA/netdiffuser-sunbelt2018 (moved to https://github.com/USCCANA/netdiffuser-workshop) From: man/netdiffuseR.Rd README.md Status: 301 Message: Moved Permanently URL: https://pphs.usc.edu/center/cana/ (moved to https://keck.usc.edu/cana/) From: README.md Status: 301 Message: Moved Permanently URL: https://www.sciencedirect.com/science/article/pii/S027795361530143X From: README.md Status: 403 Message: Forbidden For content that is 'Moved Permanently', please change http to https, add trailing slashes, or replace the old by the new URL. Please use DOIs for the following publisher URLs: https://www.sciencedirect.com/science/article/pii/S027795361530143X * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... NOTE Found the following hidden files and directories: .vscode These were most likely included in error. See section ‘Package structure’ in the ‘Writing R Extensions’ manual. CRAN-pack does not know about .vscode * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking serialization versions ... OK * checking whether package ‘netdiffuseR’ can be installed ... [50s/50s] OK * used C++ compiler: ‘Debian clang version 19.1.7 (3)’ * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... NOTE Author field differs from that derived from Authors@R Author: ‘George Vega Yon [aut, cre] (, Rewrite functions with Rcpp, plus new features), Thomas Valente [aut, cph] (, R original code), Anibal Olivera Morales [aut, ctb] (, Multi-diffusion version), Stephanie Dyal [ctb] (Package‘s first version), Timothy Hayes [ctb] (Package’s first version)’ Authors@R: ‘George Vega Yon [aut, cre] (ORCID: , what: Rewrite functions with Rcpp, plus new features), Thomas Valente [aut, cph] (ORCID: , what: R original code), Anibal Olivera Morales [aut, ctb] (ORCID: , what: Multi-diffusion version), Stephanie Dyal [ctb] (Package‘s first version), Timothy Hayes [ctb] (Package’s first version)’ * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [1s/1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [15s/15s] OK * checking Rd files ... [1s/1s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [1s/1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [8s/8s] ERROR Running examples in ‘netdiffuseR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: edges_coords > ### Title: Compute ego/alter edge coordinates considering alter's size and > ### aspect ratio > ### Aliases: edges_coords > ### Keywords: dplot misc > > ### ** Examples > > # -------------------------------------------------------------------------- > data(medInnovationsDiffNet) > library(sna) Loading required package: statnet.common Attaching package: ‘statnet.common’ The following objects are masked from ‘package:base’: attr, order, replace Loading required package: network ‘network’ 1.19.0 (2024-12-08), part of the Statnet Project * ‘news(package="network")’ for changes since last version * ‘citation("network")’ for citation information * ‘https://statnet.org’ for help, support, and other information sna: Tools for Social Network Analysis Version 2.8 created on 2024-09-07. copyright (c) 2005, Carter T. Butts, University of California-Irvine For citation information, type citation("sna"). Type help(package="sna") to get started. > > # Computing coordinates > set.seed(79) > coords <- sna::gplot(as.matrix(medInnovationsDiffNet$graph[[1]])) > > # Getting edge coordinates > vcex <- rep(1.5, nnodes(medInnovationsDiffNet)) > ecoords <- edges_coords( + medInnovationsDiffNet$graph[[1]], + diffnet.toa(medInnovationsDiffNet), + x = coords[,1], y = coords[,2], + vertex_cex = vcex, + dev = par("pin") + ) Warning in edges_coords(medInnovationsDiffNet$graph[[1]], diffnet.toa(medInnovationsDiffNet), : subscript out of bounds (index 1 >= vector size 1) Warning in edges_coords(medInnovationsDiffNet$graph[[1]], diffnet.toa(medInnovationsDiffNet), : subscript out of bounds (index 1 >= vector size 1) Warning in edges_coords(medInnovationsDiffNet$graph[[1]], diffnet.toa(medInnovationsDiffNet), : subscript out of bounds (index 1 >= vector size 1) malloc(): invalid size (unsorted) Aborted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [14s/14s] OK Running ‘testthat.R’ [14s/14s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [59s/47s] OK * checking PDF version of manual ... [5s/5s] OK * checking HTML version of manual ... [4s/3s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 3 NOTEs