- using R Under development (unstable) (2025-08-12 r88574)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘tergm/DESCRIPTION’ ... OK
- this is package ‘tergm’ version ‘4.2.2’
- 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 ‘tergm’ can be installed ... [36s/46s] OK
See the install log for details.
- used C compiler: ‘gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
- checking package directory ... OK
- checking ‘build’ directory ... 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking whether startup messages can be suppressed ... 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 ... [29s/41s] OK
- checking Rd files ... 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 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [491s/363s] ERROR
Running ‘degree.mean.age.R’ [12s/17s]
Running ‘dynamic_EGMME.R’
Running ‘dynamic_MLE_blockdiag.R’
Running ‘dynamic_MLE_blockdiag.bipartite.R’
Running ‘sim_gf_sum.R’ [13s/23s]
Running ‘simulate_networkDynamic.R’ [9s/12s]
Running ‘tergm_offset_tests.R’
Running ‘tergm_parallel.R’
Running ‘testthat.R’ [454s/306s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # File tests/testthat.R in package tergm, 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 2008-2025 Statnet Commons
> ################################################################################
>
> require(testthat)
Loading required package: testthat
> require(tergm)
Loading required package: tergm
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.9.0 (2025-06-09), 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: networkDynamic
'networkDynamic' 0.11.5 (2024-11-21), part of the Statnet Project
* 'news(package="networkDynamic")' for changes since last version
* 'citation("networkDynamic")' for citation information
* 'https://statnet.org' for help, support, and other information
Registered S3 method overwritten by 'tergm':
method from
simulate_formula.network ergm
'tergm' 4.2.2 (2025-06-15), part of the Statnet Project
* 'news(package="tergm")' for changes since last version
* 'citation("tergm")' for citation information
* 'https://statnet.org' for help, support, and other information
Attaching package: 'tergm'
The following object is masked from 'package:ergm':
snctrl
>
> test_check("tergm")
Starting 2 test processes
[ FAIL 1 | WARN 4 | SKIP 0 | PASS 4203 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-EGMME-simple.R:36:1'): EGMME case with a closed form fits and prints correctly ──
`mcmc.diagnostics(dynfit)` threw an unexpected error.
Message: ergm_plot.mcmc.list() requires 'lattice' and 'latticeExtra' packages.
Class: simpleError/error/condition
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-EGMME-simple.R:36:1
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. ├─testthat::expect_error(mcmc.diagnostics(dynfit), NA)
8. │ └─testthat:::expect_condition_matching(...)
9. │ └─testthat:::quasi_capture(...)
10. │ ├─testthat (local) .capture(...)
11. │ │ └─base::withCallingHandlers(...)
12. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
13. ├─ergm::mcmc.diagnostics(dynfit)
14. ├─tergm:::mcmc.diagnostics.tergm_EGMME(dynfit)
15. ├─base::NextMethod("mcmc.diagnostics", object, esteq = FALSE, ...)
16. └─ergm:::mcmc.diagnostics.ergm(dynfit, esteq = FALSE)
17. ├─base::print(...)
18. └─ergm::ergm_plot.mcmc.list(...)
[ FAIL 1 | WARN 4 | SKIP 0 | PASS 4203 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [15s/18s] OK
- checking PDF version of manual ... [14s/19s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR