Running ‘test-all.R’ [50s/74s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > test_check("EpiModel")
  Loading required package: EpiModel
  Loading required package: deSolve
  Loading required package: networkDynamic
  Loading required package: network
  network: Classes for Relational Data
  Version 1.13.0.1 created on 2015-08-31.
  copyright (c) 2005, Carter T. Butts, University of California-Irvine
                      Mark S. Handcock, University of California -- Los Angeles
                      David R. Hunter, Penn State University
                      Martina Morris, University of Washington
                      Skye Bender-deMoll, University of Washington
   For citation information, type citation("network").
   Type help("network-package") to get started.
  
  
  networkDynamic: version 0.9.0, created on 2016-01-12
  Copyright (c) 2016, Carter T. Butts, University of California -- Irvine
                      Ayn Leslie-Cook, University of Washington
                      Pavel N. Krivitsky, University of Wollongong
                      Skye Bender-deMoll, University of Washington
                      with contributions from
                      Zack Almquist, University of California -- Irvine
                      David R. Hunter, Penn State University
                      Li Wang
                      Kirk Li, University of Washington
                      Steven M. Goodreau, University of Washington
                      Jeffrey Horner
                      Martina Morris, University of Washington
  Based on "statnet" project software (statnet.org).
  For license and citation information see statnet.org/attribution
  or type citation("networkDynamic").
  
  Loading required package: tergm
  Loading required package: statnet.common
  
  Attaching package: 'statnet.common'
  
  The following object is masked from 'package:base':
  
      order
  
  Loading required package: ergm
  
  ergm: version 3.8.0, created on 2017-08-18
  Copyright (c) 2017, Mark S. Handcock, University of California -- Los Angeles
                      David R. Hunter, Penn State University
                      Carter T. Butts, University of California -- Irvine
                      Steven M. Goodreau, University of Washington
                      Pavel N. Krivitsky, University of Wollongong
                      Martina Morris, University of Washington
                      with contributions from
                      Li Wang
                      Kirk Li, University of Washington
                      Skye Bender-deMoll, University of Washington
  Based on "statnet" project software (statnet.org).
  For license and citation information see statnet.org/attribution
  or type citation("ergm").
  
  NOTE: Versions before 3.6.1 had a bug in the implementation of the bd()
  constriant which distorted the sampled distribution somewhat. In
  addition, Sampson's Monks datasets had mislabeled vertices. See the
  NEWS and the documentation for more details.
  
  
  tergm: version 3.4.1, created on 2017-09-12
  Copyright (c) 2017, Pavel N. Krivitsky, University of Wollongong
                      Mark S. Handcock, University of California -- Los Angeles
                      with contributions from
                      David R. Hunter, Penn State University
                      Steven M. Goodreau, University of Washington
                      Martina Morris, University of Washington
                      Nicole Bohme Carnegie, New York University
                      Carter T. Butts, University of California -- Irvine
                      Ayn Leslie-Cook, University of Washington
                      Skye Bender-deMoll
                      Li Wang
                      Kirk Li, University of Washington
  Based on "statnet" project software (statnet.org).
  For license and citation information see statnet.org/attribution
  or type citation("tergm").
  
  
  * Starting Network Simulation
  Sim = 1/5
  Sim = 2/5
  Sim = 3/5
  Sim = 4/5
  Sim = 5/5
  * Starting Network Simulation
  Sim = 1/5
  Sim = 2/5
  Sim = 3/5
  Sim = 4/5
  Sim = 5/5EpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 1
  Time Steps per Sim: 10
  
  Formation Diagnostics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SD
  edges     15       16    0.067  1.155
  
  Dissolution Diagnostics
  ----------------------- 
                 Target Sim Mean Pct Diff Sim SD
  Edge Duration   20.00    2.167   -0.892  2.041
  Pct Edges Diss   0.05    0.073    0.465  0.047
  EpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 2
  Time Steps per Sim: 10
  
  Formation Diagnostics
  ----------------------- 
        Target Sim Mean Pct Diff Sim SD
  edges     15     20.7     0.38  2.577
  
  Dissolution Diagnostics
  ----------------------- 
                 Target Sim Mean Pct Diff Sim SD
  Edge Duration   20.00     4.00   -0.800     NA
  Pct Edges Diss   0.05     0.03   -0.392  0.026
  EpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 2
  Time Steps per Sim: 10
  
  Formation Diagnostics
  ----------------------- 
             Target Sim Mean Pct Diff Sim SD
  edges          15    11.00   -0.267  4.365
  concurrent     NA     3.95       NA  3.017
  
  Dissolution Diagnostics
  ----------------------- 
                 Target Sim Mean Pct Diff Sim SD
  Edge Duration   20.00      NaN      NaN     NA
  Pct Edges Diss   0.05    0.007   -0.862  0.021
  ── 1. Error: Edges only models (@test-netdx.R#41)  ─────────────────────────────
  argument of length 0
  1: plot(dx3, type = "duration") at testthat/test-netdx.R:41
  2: plot.netdx(dx3, type = "duration")
  
  EpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 2
  Time Steps per Sim: 50
  
  Formation Diagnostics
  ----------------------- 
              Target Sim Mean Pct Diff Sim SD
  edges           15    17.77    0.185  3.324
  mix.loc.0.1     NA     0.00       NA  0.000
  
  Dissolution Diagnostics
  ----------------------- 
                 Target Sim Mean Pct Diff Sim SD
  Edge Duration  40.000   14.333   -0.642  9.898
  Pct Edges Diss  0.025    0.035    0.387  0.045
  EpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 2
  Time Steps per Sim: 50
  
  Formation Diagnostics
  ----------------------- 
                Target Sim Mean Pct Diff Sim SD
  edges             15   19.380    0.292  2.219
  meandeg           NA    0.775       NA  0.089
  concurrent        NA    9.650       NA  2.057
  nodematch.loc     NA   19.380       NA  2.219
  
  Dissolution Diagnostics
  ----------------------- 
                 Target Sim Mean Pct Diff Sim SD
  Edge Duration  40.000   13.500   -0.662 10.164
  Pct Edges Diss  0.025    0.024   -0.046  0.033
  EpiModel Network Diagnostics
  =======================
  Diagnostic Method: Dynamic
  Simulations: 2
  Time Steps per Sim: 50
  
  Formation Diagnostics
  ----------------------- 
              Target Sim Mean Pct Diff Sim SD
  edges           15    13.78   -0.081   2.29
  mix.loc.0.1      0     0.00      NaN   0.00
  
  Dissolution Diagnostics
  ----------------------- 
                 Target Sim Mean Pct Diff Sim SD
  Edge Duration  40.000   13.875   -0.653  8.382
  Pct Edges Diss  0.025    0.026    0.025  0.044
  
  Network Diagnostics
  -----------------------
  - Simulating 250 networks
  - Calculating formation statistics
  * Starting Network Simulation
  Sim = 1/1
  1/10	
  2/10	
  3/10	
  4/10	
  5/10	
  6/10	
  7/10	
  8/10	
  9/10	
  10/10	══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 284 SKIPPED: 77 FAILED: 1
  1. Error: Edges only models (@test-netdx.R#41) 
  
  Error: testthat unit tests failed
  Execution halted