Running 'testthat.R' [22s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(tergmLite)
  > 
  > test_check("tergmLite")
  == Failed tests ================================================================
  -- Error (test-examples.R:24:5): simulate_network ------------------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(x, param, init, control) test-examples.R:24:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-examples.R:66:5): simulate_ergm ---------------------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(x, param, init, control) test-examples.R:66:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-examples.R:98:5): init_tergmLite --------------------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(x, param, init, control) test-examples.R:98:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-examples.R:131:5): networkLite ----------------------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(x, param, init, control) test-examples.R:131:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-examples.R:161:5): updateModelTermInputs ------------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(x, param, init, control) test-examples.R:161:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-examples.R:201:5): add_vertices ---------------------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(x, param, init, control) test-examples.R:201:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-examples.R:236:5): delete_vertices ------------------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(x, param, init, control) test-examples.R:236:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = control$nsteps, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:21:5): concurrent -----------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:21:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:49:5): concurrent_by --------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:49:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:76:5): degree, single -------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:76:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:103:5): degree, multiple ----------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:103:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:131:5): degree_by_attr ------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:131:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:158:5): degrange ------------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:158:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:208:5): nodecov formula -----------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:208:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:237:5): nodecov function ----------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:237:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:266:5): nodefactor single ---------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:266:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:298:5): nodefactor interaction ----------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:298:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:327:5): nodemix levels ------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:327:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:354:5): triangle ------------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:354:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:382:5): triangle_attr -------------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:382:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:410:5): triangle_attrdiff ---------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:410:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:438:5): triangle_attrdifflevels ---------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:438:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  -- Error (test-updateModelTermInputs.R:455:5): gwesp_true ----------------------
  Error: Term 'gwesp' with 'fixed=TRUE' requires a decay parameter 'decay'.
  Backtrace:
      x
   1. \-EpiModel::netest(...) test-updateModelTermInputs.R:455:4
   2.   \-ergm::ergm(...)
   3.     \-ergm::ergm_model(...)
   4.       \-ergm::call.ErgmTerm(...)
   5.         \-base::eval(termCall, env)
   6.           \-base::eval(termCall, env)
   7.             \-ergm:::InitErgmTerm.gwesp(...)
  -- Error (test-updateModelTermInputs.R:493:5): gwesp_truedecay -----------------
  Error: could not find function "is.durational"
  Backtrace:
      x
   1. \-EpiModel::initialize.net(est, param, init, control, s = 1) test-updateModelTermInputs.R:493:4
   2.   \-EpiModel::sim_nets(x, nw, nsteps = 1, control)
   3.     +-base::suppressWarnings(...)
   4.     | \-base::withCallingHandlers(...)
   5.     +-stats::simulate(...)
   6.     \-tergm:::simulate.network(...)
   7.       \-tergm:::is.lasttoggle(nw, formation, dissolution, monitor)
  
  [ FAIL 24 | WARN 2 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted