* using log directory ‘/srv/hornik/tmp/CRAN/migraph.Rcheck’ * using R Under development (unstable) (2024-01-23 r85822) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (3) Debian flang-new version 17.0.6 (3) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘migraph/DESCRIPTION’ ... OK * this is package ‘migraph’ version ‘1.3.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [6s/9s] NOTE Maintainer: ‘James Hollway ’ Found the following (possibly) invalid URLs: URL: https://github.com/snlab-ch/migraph (moved to https://github.com/stocnet/migraph) From: inst/CITATION Status: 301 Message: Moved Permanently URL: https://www.codefactor.io/repository/github/stocnet/migraph From: README.md Status: 404 Message: Not Found For content that is 'Moved Permanently', please change http to https, add trailing slashes, or replace the old by the new URL. * 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 ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘migraph’ can be installed ... [5s/5s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R 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 use of S3 registration ... OK * checking dependencies in R code ... WARNING Missing or unexported objects: ‘manynet::is_list’ ‘manynet::node_is_cutpoint’ ‘manynet::node_is_infected’ ‘manynet::tie_is_bridge’ ‘manynet::tie_is_loop’ ‘manynet::tie_is_multiple’ ‘manynet::tie_is_reciprocated’ * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [9s/9s] OK * checking Rd files ... [0s/0s] 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 ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking examples ... [5s/5s] ERROR Running examples in ‘migraph-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: heterogeneity > ### Title: Measures of network diversity > ### Aliases: heterogeneity network_richness node_richness network_diversity > ### node_diversity network_heterophily node_heterophily > ### network_assortativity network_spatial > > ### ** Examples > > network_richness(mpn_bristol) [1] 3 > node_richness(mpn_bristol, "type") `101` `102` `103` `104` `105` `106` `107` `108` `109` `110` `111` `112` `113` 1 1 2 2 2 2 2 2 2 2 2 2 2 2 # ... with 137 more values from this nodeset unprinted. Use `print(..., n = Inf)` to print all values. AddReAg AfrInit AvonBat OrganicCoop Wildlife BACEN BangladAss Barnardos 1 2 2 1 2 2 2 2 2 # ... with 106 more values from this nodeset unprinted. Use `print(..., n = Inf)` to print all values.> marvel_friends <- manynet::to_unsigned(manynet::ison_marvel_relationships, "positive") > network_diversity(marvel_friends, "Gender") [1] 0.306 > network_diversity(marvel_friends, "Attractive") [1] 0.35 > network_diversity(marvel_friends, "Gender", "Rich") [1] 0.337 0.165 > node_diversity(marvel_friends, "Gender") Abomination `Ant-Man` Apocalypse Beast `Black Panther` `Black Widow` Blade 1 0 0.48 0 0.363 0.34 0.337 0 # ... with 46 more values from this nodeset unprinted. Use `print(..., n = Inf)` to print all values.> node_diversity(marvel_friends, "Attractive") Abomination `Ant-Man` Apocalypse Beast `Black Panther` `Black Widow` Blade 1 0 0.32 0 0.172 0.159 0.133 0 # ... with 46 more values from this nodeset unprinted. Use `print(..., n = Inf)` to print all values.> network_heterophily(marvel_friends, "Gender") [1] -0.285 > network_heterophily(marvel_friends, "Attractive") [1] -0.632 > node_heterophily(marvel_friends, "Gender") Abomination `Ant-Man` Apocalypse Beast `Black Panther` `Black Widow` Blade 1 NaN 0.5 -1 -0.5 -0.545 0.692 -1 # ... with 46 more values from this nodeset unprinted. Use `print(..., n = Inf)` to print all values.> node_heterophily(marvel_friends, "Attractive") Abomination `Ant-Man` Apocalypse Beast `Black Panther` `Black Widow` Blade 1 NaN -0.5 -1 -0.8 -0.818 -0.846 -1 # ... with 46 more values from this nodeset unprinted. Use `print(..., n = Inf)` to print all values.> network_assortativity(mpn_elite_mex) [1] -0.176 > network_spatial(ison_lawfirm, "age") Error in network_spatial(ison_lawfirm, "age") : is.numeric(x) is not TRUE Calls: network_spatial -> stopifnot Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [8s/8s] OK Running ‘testthat.R’ [8s/8s] * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 WARNING, 1 NOTE