- using R version 4.4.2 Patched (2025-01-18 r87609)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-12) 14.2.0
GNU Fortran (Debian 14.2.0-12) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘ergm.ego/DESCRIPTION’ ... OK
- this is package ‘ergm.ego’ version ‘1.1.1’
- package encoding: UTF-8
- 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 ‘ergm.ego’ can be installed ... OK
See the install log for details.
- used C compiler: ‘gcc-14 (Debian 14.2.0-12) 14.2.0’
- 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 code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [3s/4s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the package can be unloaded cleanly ... [3s/4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/5s] OK
- checking whether the namespace can be unloaded cleanly ... [4s/5s] OK
- checking loading without being on the library search path ... [4s/6s] OK
- checking whether startup messages can be suppressed ... [3s/5s] 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 ... [21s/26s] 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 ... [3s/5s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking examples ... [18s/23s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [129s/78s] ERROR
Running ‘testthat.R’ [129s/78s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # File tests/testthat.R in package ergm.ego, part of the
> # Statnet suite of packages for network analysis, https://statnet.org .
> #
> # This software is distributed under the GPL-3 license. It is free,
> # open source, and has the attribution requirements (GPL Section 7) at
> # https://statnet.org/attribution .
> #
> # Copyright 2015-2024 Statnet Commons
> ################################################################################
> library(testthat)
> library(ergm.ego)
Loading required package: ergm
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
'ergm' 4.8.1 (2025-01-20), part of the Statnet Project
* 'news(package="ergm")' for changes since last version
* 'citation("ergm")' for citation information
* 'https://statnet.org' for help, support, and other information
'ergm' 4 is a major update that introduces some backwards-incompatible
changes. Please type 'news(package="ergm")' for a list of major
changes.
Loading required package: egor
Loading required package: dplyr
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Loading required package: tibble
'ergm.ego' 1.1.1 (2024-11-07), part of the Statnet Project
* 'news(package="ergm.ego")' for changes since last version
* 'citation("ergm.ego")' for citation information
* 'https://statnet.org' for help, support, and other information
Attaching package: 'ergm.ego'
The following objects are masked from 'package:ergm':
COLLAPSE_SMALLEST, snctrl
The following object is masked from 'package:base':
sample
>
> test_check("ergm.ego")
Starting 2 test processes
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 105 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-EgoStat.R:91:3'): egostats are close to complete network stats ──
c(s.e) (`actual`) not equal to summary(f.y) (`expected`).
names(actual) | names(expected)
[91] "degree4" | "degree4" [91]
[92] "degree5" | "degree5" [92]
[93] "degree6" | "degree6" [93]
[94] "deg0.a7" - "deg0.a.7" [94]
[95] "deg0.a8" - "deg0.a.8" [95]
[96] "deg0.a9" - "deg0.a.9" [96]
[97] "deg3.a7" - "deg3.a.7" [97]
[98] "deg3.a8" - "deg3.a.8" [98]
[99] "deg3.a9" - "deg3.a.9" [99]
[100] "deg0.a7" - "deg0.a.7" [100]
... ... ... and 23 more ...
names(actual) | names(expected)
[127] "deg4.homophily.a" | "deg4.homophily.a" [127]
[128] "deg5.homophily.a" | "deg5.homophily.a" [128]
[129] "deg6.homophily.a" | "deg6.homophily.a" [129]
[130] "deg0.a8" - "deg0.a.8" [130]
[131] "deg1.a8" - "deg1.a.8" [131]
[132] "deg2.a8" - "deg2.a.8" [132]
[133] "deg3.a8" - "deg3.a.8" [133]
[134] "deg4.a8" - "deg4.a.8" [134]
[135] "deg5.a8" - "deg5.a.8" [135]
[136] "deg6.a8" - "deg6.a.8" [136]
... ... ... and 101 more ...
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 105 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [6s/10s] OK
- checking HTML version of manual ... [1s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR