- 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 ‘ergm/DESCRIPTION’ ... OK
- this is package ‘ergm’ version ‘4.9.0’
- 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’ can be installed ... [137s/99s] 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 ... [96s/122s] OK
- checking Rd files ... [19s/25s] 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 ... OK
- checking data for ASCII and uncompressed saves ... 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 ... [14s/17s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [544s/371s] ERROR
Running ‘requireNamespaceTest.R’
Running ‘testthat.R’ [541s/366s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # File tests/testthat.R in package ergm, 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 2003-2025 Statnet Commons
> ################################################################################
> library(testthat)
> library(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.
>
> test_check("ergm")
Starting 2 test processes
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 4240 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-miss.R:58:3'): directed network ────────────────────────────────
Error: ergm_plot.mcmc.list() requires 'lattice' and 'latticeExtra' packages.
Backtrace:
▆
1. └─ergm (local) run.miss.test(y) at test-miss.R:58:3
2. ├─ergm::mcmc.diagnostics(mcmcfit) at test-miss.R:36:3
3. └─ergm:::mcmc.diagnostics.ergm(mcmcfit)
4. ├─base::print(...)
5. └─ergm::ergm_plot.mcmc.list(...)
── Error ('test-miss.R:65:3'): undirected Network ──────────────────────────────
Error: ergm_plot.mcmc.list() requires 'lattice' and 'latticeExtra' packages.
Backtrace:
▆
1. └─ergm (local) run.miss.test(y) at test-miss.R:65:3
2. ├─ergm::mcmc.diagnostics(mcmcfit) at test-miss.R:36:3
3. └─ergm:::mcmc.diagnostics.ergm(mcmcfit)
4. ├─base::print(...)
5. └─ergm::ergm_plot.mcmc.list(...)
── Error ('test-miss.R:72:3'): Bipartite Undirected Network ────────────────────
Error: ergm_plot.mcmc.list() requires 'lattice' and 'latticeExtra' packages.
Backtrace:
▆
1. └─ergm (local) run.miss.test(y) at test-miss.R:72:3
2. ├─ergm::mcmc.diagnostics(mcmcfit) at test-miss.R:36:3
3. └─ergm:::mcmc.diagnostics.ergm(mcmcfit)
4. ├─base::print(...)
5. └─ergm::ergm_plot.mcmc.list(...)
── Failure ('test-nonunique-names.R:15:3'): MCMC diagnostics produced even when names are not unique ──
Expected `mcmc.diagnostics(fit)` to run without any conditions.
i Actually got a <simpleError> with text:
ergm_plot.mcmc.list() requires 'lattice' and 'latticeExtra' packages.
── Failure ('test-target-offset.R:17:3'): target+offset in a non-curved ERGM ───
`mcmc.diagnostics(fit)` 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-target-offset.R:17:3
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(fit), 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(fit)
14. └─ergm:::mcmc.diagnostics.ergm(fit)
15. ├─base::print(...)
16. └─ergm::ergm_plot.mcmc.list(...)
── Failure ('test-target-offset.R:26:3'): target+offset in a curved ERGM ───────
`mcmc.diagnostics(fit)` 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-target-offset.R:26:3
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(fit), 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(fit)
14. └─ergm:::mcmc.diagnostics.ergm(fit)
15. ├─base::print(...)
16. └─ergm::ergm_plot.mcmc.list(...)
[ FAIL 6 | WARN 0 | SKIP 0 | PASS 4240 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [55s/82s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘Network-Callback-API.Rmd’ using rmarkdown
--- finished re-building ‘Network-Callback-API.Rmd’
--- re-building ‘Proposal-Lookup-API.Rmd’ using rmarkdown
--- finished re-building ‘Proposal-Lookup-API.Rmd’
--- re-building ‘Terms-API.Rmd’ using rmarkdown
--- finished re-building ‘Terms-API.Rmd’
--- re-building ‘ergm-term-crossRef.Rmd’ using rmarkdown
--- finished re-building ‘ergm-term-crossRef.Rmd’
--- re-building ‘ergm.Rmd’ using rmarkdown
Quitting from ergm.Rmd:514-519 [unnamed-chunk-26]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! ergm_plot.mcmc.list() requires 'lattice' and 'latticeExtra' packages.
---
Backtrace:
▆
1. ├─ergm::mcmc.diagnostics(fit)
2. └─ergm:::mcmc.diagnostics.ergm(fit)
3. ├─base::print(...)
4. └─ergm::ergm_plot.mcmc.list(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'ergm.Rmd' failed with diagnostics:
ergm_plot.mcmc.list() requires 'lattice' and 'latticeExtra' packages.
--- failed re-building ‘ergm.Rmd’
--- re-building ‘nodal_attributes.Rmd’ using rmarkdown
--- finished re-building ‘nodal_attributes.Rmd’
SUMMARY: processing the following file failed:
‘ergm.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [42s/55s] OK
- checking HTML version of manual ... [33s/54s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs