CRAN Package Check Results for Package ergm

Last updated on 2025-08-11 01:48:55 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.9.0 71.01 577.68 648.69 OK --no-vignettes
r-devel-linux-x86_64-debian-gcc 4.9.0 54.96 384.13 439.09 ERROR --no-vignettes
r-devel-linux-x86_64-fedora-clang 4.9.0 1071.11 OK
r-devel-linux-x86_64-fedora-gcc 4.9.0 1092.15 OK
r-devel-windows-x86_64 4.9.0 107.00 205.00 312.00 OK --no-examples --no-tests --no-vignettes
r-patched-linux-x86_64 4.9.0 85.51 542.88 628.39 WARN --no-vignettes
r-release-linux-x86_64 4.9.0 71.96 543.62 615.58 OK --no-vignettes
r-release-macos-arm64 4.9.0 216.00 OK
r-release-macos-x86_64 4.9.0 499.00 OK
r-release-windows-x86_64 4.9.0 105.00 213.00 318.00 OK --no-examples --no-tests --no-vignettes
r-oldrel-macos-arm64 4.9.0 238.00 NOTE
r-oldrel-macos-x86_64 4.9.0 466.00 NOTE
r-oldrel-windows-x86_64 4.9.0 124.00 207.00 331.00 OK --no-examples --no-tests --no-vignettes

Check Details

Version: 4.9.0
Flags: --no-vignettes
Check: tests
Result: ERROR Running ‘requireNamespaceTest.R’ [1s/1s] Running ‘testthat.R’ [234s/126s] 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 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 4.9.0
Flags: --no-vignettes
Check: whether package can be installed
Result: WARN Found the following significant warnings: Rd warning: no hsearch.rds meta data for package ergm See ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/ergm.Rcheck/00install.out’ for details. * used C compiler: ‘gcc-14 (Debian 14.2.0-19) 14.2.0’ Flavor: r-patched-linux-x86_64

Version: 4.9.0
Check: installed package size
Result: NOTE installed size is 8.4Mb sub-directories of 1Mb or more: R 2.1Mb doc 1.3Mb help 1.0Mb libs 3.3Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64