Running ‘testthat.R’ [152s/201s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bigergm)
  Loading required package: ergm
  Loading required package: network
  
  'network' 1.18.2 (2023-12-04), 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.6.0 (2023-12-17), 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: Rcpp
  > 
  > test_check("bigergm")
  Compute pi for pi_s0v0w0
  [1] 1
  Compute pi for pi_s1v0w0
  [1] 2
  Compute pi for pi_s0v1w0
  [1] 3
  Compute pi for pi_s1v1w0
  [1] 4
  Compute pi for pi_s0v0w1
  [1] 5
  Compute pi for pi_s1v0w1
  [1] 6
  Compute pi for pi_s0v1w1
  [1] 7
  Compute pi for pi_s1v1w1
  [1] 8
  Compute pi for pi_s0v0w0
  Compute pi for pi_s1v0w0
  Compute pi for pi_s0v1w0
  Compute pi for pi_s1v1w0
  Compute pi for pi_s0v0w1
  Compute pi for pi_s1v0w1
  Compute pi for pi_s0v1w1
  Compute pi for pi_s1v1w1
  Compute pi for pi_s0v0w0
  Compute pi for pi_s1v0w0
  Compute pi for pi_s0v1w0
  Compute pi for pi_s1v1w0
  Compute pi for pi_s0v0w1
  Compute pi for pi_s1v0w1
  Compute pi for pi_s0v1w1
  Compute pi for pi_s1v1w1
  Compute pi for pi_s0v0w0
  [1] 1
  Compute pi for pi_s1v0w0
  [1] 2
  Compute pi for pi_s0v1w0
  [1] 3
  Compute pi for pi_s1v1w0
  [1] 4
  Compute pi for pi_s0v0w1
  [1] 5
  Compute pi for pi_s1v0w1
  [1] 6
  Compute pi for pi_s0v1w1
  [1] 7
  Compute pi for pi_s1v1w1
  [1] 8
  Compute pi for pi_s0v0w0
  [1] 1
  Compute pi for pi_s1v0w0
  [1] 2
  Compute pi for pi_s0v1w0
  [1] 3
  Compute pi for pi_s1v1w0
  [1] 4
  Compute pi for pi_s0v0w1
  [1] 5
  Compute pi for pi_s1v0w1
  [1] 6
  Compute pi for pi_s0v1w1
  [1] 7
  Compute pi for pi_s1v1w1
  [1] 8
  [ FAIL 2 | WARN 3 | SKIP 3 | PASS 172 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (3): 'test-EM-checkpoint.R:2:3', 'test-cache.R:49:3',
    'test-start-from-given-cluster.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-gof.R:368:3'): Return GOF statistics including only within-block connections ──
  Error in `ergm_Init_abort(e$message)`: In term 'esp' in package 'ergm': NA/NaN argument
  Backtrace:
       ▆
    1. ├─ergm::gof(...) at test-gof.R:368:3
    2. └─bigergm:::gof.bigergm(...)
    3.   └─base::mapply(...)
    4.     └─bigergm (local) `<fn>`(...)
    5.       └─bigergm:::get_gof_stats(...)
    6.         └─bigergm:::to_edgewise_shared_partners_df(net, to = to)
    7.           ├─base::summary(net ~ esp(1:to))
    8.           ├─ergm:::summary.formula(net ~ esp(1:to))
    9.           │ ├─ergm::summary_formula(object, ...)
   10.           │ └─ergm:::summary_formula.network(object, ...)
   11.           │   └─ergm::ergm_model(object, basis, ...)
   12.           │     └─ergm::call.ErgmTerm(...)
   13.           │       └─base::eval(termCall, env)
   14.           │         └─base::eval(termCall, env)
   15.           └─ergm:::InitErgmTerm.esp(`<network>`, list(1:to), env = `<env>`)
   16.             └─ergm:::.d_sp_impl("e", nw, arglist, cache.sp, ...)
   17.               └─ergm::check.ErgmTerm(...)
   18.                 └─ergm::ergm_Init_try(arglist <- as.list(arglist))
   19.                   └─base::tryCatch(eval(expr, parent.frame(1)), error = function(e) ergm_Init_abort(e$message))
   20.                     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   21.                       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   22.                         └─value[[3L]](cond)
   23.                           └─ergm::ergm_Init_abort(e$message)
   24.                             └─rlang::abort(...)
  ── Error ('test-gof.R:441:3'): Within-connections GOF can be started from the observed network ──
  Error in `ergm_Init_abort(e$message)`: In term 'esp' in package 'ergm': NA/NaN argument
  Backtrace:
       ▆
    1. ├─ergm::gof(...) at test-gof.R:441:3
    2. └─bigergm:::gof.bigergm(...)
    3.   └─base::mapply(...)
    4.     └─bigergm (local) `<fn>`(...)
    5.       └─bigergm:::get_gof_stats(...)
    6.         └─bigergm:::to_edgewise_shared_partners_df(net, to = to)
    7.           ├─base::summary(net ~ esp(1:to))
    8.           ├─ergm:::summary.formula(net ~ esp(1:to))
    9.           │ ├─ergm::summary_formula(object, ...)
   10.           │ └─ergm:::summary_formula.network(object, ...)
   11.           │   └─ergm::ergm_model(object, basis, ...)
   12.           │     └─ergm::call.ErgmTerm(...)
   13.           │       └─base::eval(termCall, env)
   14.           │         └─base::eval(termCall, env)
   15.           └─ergm:::InitErgmTerm.esp(`<network>`, list(1:to), env = `<env>`)
   16.             └─ergm:::.d_sp_impl("e", nw, arglist, cache.sp, ...)
   17.               └─ergm::check.ErgmTerm(...)
   18.                 └─ergm::ergm_Init_try(arglist <- as.list(arglist))
   19.                   └─base::tryCatch(eval(expr, parent.frame(1)), error = function(e) ergm_Init_abort(e$message))
   20.                     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   21.                       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   22.                         └─value[[3L]](cond)
   23.                           └─ergm::ergm_Init_abort(e$message)
   24.                             └─rlang::abort(...)
  
  [ FAIL 2 | WARN 3 | SKIP 3 | PASS 172 ]
  Error: Test failures
  Execution halted