* using log directory 'd:/Rcompile/CRANpkg/local/4.4/btergm.Rcheck' * using R version 4.4.2 (2024-10-31 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'btergm/DESCRIPTION' ... OK * this is package 'btergm' version '1.10.12' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'btergm' can be installed ... OK * checking installed package size ... OK * checking package 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking whether startup messages can be suppressed ... [2s] 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 ... [18s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 ... [2s] OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [6s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [35s] ERROR Running 'testthat.R' [35s] 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 * checking PDF version of manual ... [23s] OK * checking HTML version of manual ... [8s] OK * DONE Status: 1 ERROR