Running ‘testthat.R’ [20s/19s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > #  File tests/testthat.R in package ergm.multi, 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-2022 Statnet Commons
  > ################################################################################
  > library(testthat)
  > library(ergm.multi)
  Loading required package: ergm
  Loading required package: network
  
  'network' 1.18.1 (2023-01-24), 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.4.0 (2023-01-26), 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.
  
  
  'ergm.multi' 0.1.2 (2022-12-10), part of the Statnet Project
  * 'news(package="ergm.multi")' for changes since last version
  * 'citation("ergm.multi")' for citation information
  * 'https://statnet.org' for help, support, and other information
  
  
  Attaching package: 'ergm.multi'
  
  The following object is masked from 'package:ergm':
  
      snctrl
  
  > 
  > test_check("ergm.multi")
  Starting 2 test processes
  [ FAIL 12 | WARN 11 | SKIP 0 | PASS 26 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (???): (code run outside of `test_that()`) ────────────────────────────
  Error in `if (has_new_tergm()) check_dots_used(error = unused_dots_warning)`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. ├─stats::simulate(object = nw0 ~ edges, coef = -0.5)
   2. └─ergm:::simulate.formula_lhs_network(object = nw0 ~ edges, coef = -0.5)
   3.   ├─ergm::simulate_formula(...)
   4.   └─ergm (local) simulate_formula.network(...)
  ── Error ('test-multilayer-MLE.R:31'): layer logic estimation for a single AND layer ──
  Error in `if (has_new_tergm()) check_dots_used(error = unused_dots_warning)`: missing value where TRUE/FALSE needed
  Backtrace:
       ▆
    1. └─ergm::ergm(Layer(nw1, nw2) ~ L(~edges, ~`1` & `2`)) at test-multilayer-MLE.R:31:2
    2.   ├─stats::logLik(...)
    3.   └─ergm:::logLik.ergm(...)
    4.     ├─base::with(...)
    5.     └─base::with.default(...)
    6.       └─base::eval(substitute(expr), data, enclos = parent.frame())
    7.         └─base::eval(substitute(expr), data, enclos = parent.frame())
    8.           └─ergm::ergm.bridge.dindstart.llk(...)
    9.             └─ergm::ergm.bridge.llr(...)
   10.               ├─stats::simulate(...)
   11.               ├─ergm:::simulate.formula(...)
   12.               │ └─base::eval(cl, parent.frame())
   13.               │   └─base::eval(cl, parent.frame())
   14.               ├─stats::simulate(...)
   15.               └─ergm:::simulate.formula_lhs_network(...)
   16.                 ├─ergm::simulate_formula(...)
   17.                 └─ergm (local) simulate_formula.network(...)
  ── Error (???): (code run outside of `test_that()`) ────────────────────────────
  Error in `if (has_new_tergm()) check_dots_used(error = unused_dots_warning)`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. ├─stats::simulate(object = nw0 ~ edges, coef = -0.5)
   2. └─ergm:::simulate.formula_lhs_network(object = nw0 ~ edges, coef = -0.5)
   3.   ├─ergm::simulate_formula(...)
   4.   └─ergm (local) simulate_formula.network(...)
  ── Error (???): twostarL statistics for directed networks ──────────────────────
  Error in `if (has_new_tergm()) check_dots_used(error = unused_dots_warning)`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. ├─stats::simulate(...)
   2. └─ergm:::simulate.formula_lhs_network(...)
   3.   ├─ergm::simulate_formula(...)
   4.   └─ergm (local) simulate_formula.network(...)
  ── Error (???): twostarL statistics for undirected networks ────────────────────
  Error in `if (has_new_tergm()) check_dots_used(error = unused_dots_warning)`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. ├─stats::simulate(...)
   2. └─ergm:::simulate.formula_lhs_network(...)
   3.   ├─ergm::simulate_formula(...)
   4.   └─ergm (local) simulate_formula.network(...)
  ── Error (???): Statistics simulation for heterogeneously bipartite networks ───
  Error in `if (has_new_tergm()) check_dots_used(error = unused_dots_warning)`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. ├─stats::simulate(object = lnw ~ edges, coef = 1000)
   2. └─ergm:::simulate.formula_lhs_network(object = lnw ~ edges, coef = 1000)
   3.   ├─ergm::simulate_formula(...)
   4.   └─ergm (local) simulate_formula.network(...)
  ── Error (???): Multilayer dgw*sp statistics for homogeneously directed networks without shared partner caching ──
  Error in `if (has_new_tergm()) check_dots_used(error = unused_dots_warning)`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. ├─stats::simulate(...)
   2. └─ergm:::simulate.formula_lhs_network(...)
   3.   ├─ergm::simulate_formula(...)
   4.   └─ergm (local) simulate_formula.network(...)
  ── Error (???): Multilayer dgw*sp statistics for heterogeneously directed networks 1 without shared partner caching ──
  Error in `if (has_new_tergm()) check_dots_used(error = unused_dots_warning)`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. ├─stats::simulate(...)
   2. └─ergm:::simulate.formula_lhs_network(...)
   3.   ├─ergm::simulate_formula(...)
   4.   └─ergm (local) simulate_formula.network(...)
  ── Error (???): Multilayer dgw*sp statistics for undirected networks without shared partner caching ──
  Error in `if (has_new_tergm()) check_dots_used(error = unused_dots_warning)`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. ├─stats::simulate(...)
   2. └─ergm:::simulate.formula_lhs_network(...)
   3.   ├─ergm::simulate_formula(...)
   4.   └─ergm (local) simulate_formula.network(...)
  ── Error (???): Multilayer dgw*sp statistics for homogeneously directed networks with shared partner caching ──
  Error in `if (has_new_tergm()) check_dots_used(error = unused_dots_warning)`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. ├─stats::simulate(...)
   2. └─ergm:::simulate.formula_lhs_network(...)
   3.   ├─ergm::simulate_formula(...)
   4.   └─ergm (local) simulate_formula.network(...)
  ── Error (???): Multilayer dgw*sp statistics for heterogeneously directed networks 1 with shared partner caching ──
  Error in `if (has_new_tergm()) check_dots_used(error = unused_dots_warning)`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. ├─stats::simulate(...)
   2. └─ergm:::simulate.formula_lhs_network(...)
   3.   ├─ergm::simulate_formula(...)
   4.   └─ergm (local) simulate_formula.network(...)
  ── Error (???): Multilayer dgw*sp statistics for undirected networks with shared partner caching ──
  Error in `if (has_new_tergm()) check_dots_used(error = unused_dots_warning)`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. ├─stats::simulate(...)
   2. └─ergm:::simulate.formula_lhs_network(...)
   3.   ├─ergm::simulate_formula(...)
   4.   └─ergm (local) simulate_formula.network(...)
  
  [ FAIL 12 | WARN 11 | SKIP 0 | PASS 26 ]
  Error: Test failures
  Execution halted