Package: btergm Check: tests New result: ERROR Running ‘testthat.R’ [22s/22s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > > test_check("btergm") Loading required package: btergm Registered S3 methods overwritten by 'btergm': method from plot.gof ergm print.gof ergm Package: btergm Version: 1.10.12 Date: 2024-03-31 Authors: Philip Leifeld (University of Manchester) Skyler J. Cranmer (The Ohio State University) Bruce A. Desmarais (Pennsylvania State University) [ FAIL 1 | WARN 2 | SKIP 8 | PASS 51 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (8): 'test-btergm.R:82:3', 'test-btergm.R:180:3', 'test-btergm.R:197:3', 'test-data.R:4:3', 'test-interpret.R:4:3', 'test-interpret.R:32:3', 'test-interpret.R:59:3', 'test-interpret.R:87:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-btergm.R:73:3'): offset argument in btergm works without composition change ── Error in `ergm::ergm.pl(nw, Clist.miss, model, theta.offset = c(rep(FALSE, length(l$rhs.terms) - 1), TRUE), verbose = FALSE, control = control.ergm)`: VECTOR_ELT() can only be applied to a 'list', not a 'NULL' Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-btergm.R:73:3 2. │ └─base::withCallingHandlers(...) 3. └─btergm::btergm(...) 4. └─ergm::ergm.pl(...) [ FAIL 1 | WARN 2 | SKIP 8 | PASS 51 ] Error: Test failures Execution halted Package: ergm.ego Check: tests New result: ERROR Running ‘testthat.R’ [89s/53s] 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