Running ‘compute.animation_tests.R’
  Running ‘d3_animation_tests.R’
  Running ‘effects_tests.R’ [11s/12s]
  Running ‘filmstrip_tests.R’
  Running ‘layout_tests.R’
  Running ‘networkAnimationTest.R’
  Running ‘proximity.timeline_test.R’
  Running ‘render.animation_test.R’ [9s/12s]
  Running ‘timePrisimTest.R’
  Running ‘timeline_test.R’ [12s/15s]
  Running ‘transmissionTimelineTests.R’
  Running ‘weighttest.R’ [17s/23s]
  Running ‘writeFormatTests.R’
Running the tests in ‘tests/compute.animation_tests.R’ failed.
Complete output:
  > #  File tests/compute.animation_Tests.R in package ndtv, part of the Statnet suite
  > #  of packages for network analysis, http://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
  > #  http://statnet.org/attribution
  > #
  > #  Copyright 2003-2013 Statnet Commons
  > #######################################################################
  > #test some functions for calculating animated layouts and exporting movies.
  > require(ndtv)
  Loading required package: ndtv
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.0 created on 2019-11-30.
  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.
  
  Loading required package: networkDynamic
  
  networkDynamic: version 0.10.1, created on 2020-01-16
  Copyright (c) 2020, 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: animation
  Loading required package: sna
  Loading required package: statnet.common
  
  Attaching package: 'statnet.common'
  
  The following object is masked from 'package:base':
  
      order
  
  sna: Tools for Social Network Analysis
  Version 2.5 created on 2019-12-09.
  copyright (c) 2005, Carter T. Butts, University of California-Irvine
   For citation information, type citation("sna").
   Type help(package="sna") to get started.
  
  
  ndtv: version 0.13.0, created on 2019-05-21
  Copyright (c) 2019, Skye Bender-deMoll, University of Washington
                      with contributions from
                      Martina Morris, University of Washington
  Based on "statnet" project software (statnet.org).
  For license and citation information see statnet.org/attribution
  or type citation("ndtv").
  
  > require(testthat)
  Loading required package: testthat
  Warning message:
  In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
    there is no package called 'testthat'
  > 
  > # hard to write tests since most require a human looking at the output
  > # most overall tests are included as man examples or in the packae vignette
  > # this file should be mostly unit tests for functionality
  > 
  > 
  > # ----- compute.animation ------
  > 
  > # does it crash on basic example
  > data(newcomb)
  > dynNew <- networkDynamic(network.list=newcomb[1:5])
  Neither start or onsets specified, assuming start=0
  Onsets and termini not specified, assuming each network in network.list should have a discrete spell of length 1
  Argument base.net not specified, using first element of network.list instead
  Created net.obs.period to describe network
   Network observation period info:
    Number of observation spells: 1 
    Maximal time range observed: 0 until 5 
    Temporal mode: discrete 
    Time unit: step 
    Suggested time increment: 1 
  > dyn<-dynNew
  > slice.par<-list(start=0,end=5,interval=1, aggregate.dur=1,rule='any')
  > set.seed(123)
  > compute.animation(dyn,slice.par=slice.par,verbose=FALSE)
  > 
  > 
  > # modify network argument in place?
  > if(!all(c("animation.x.active","animation.y.active")%in%list.vertex.attributes(dyn))){
  +   stop("compute.animation appears to have not correctly modified its argument in place")
  + }
  > 
  > # does it store slice.par
  > par<-get.network.attribute(dyn,'slice.par')
  > if (!all(names(par)==c("start","end","interval","aggregate.dur","rule" ))){
  +   stop("compute.animation did not store slice parameters correctly in slice.par")
  + }
  > 
  > # does it store animation.x and animation.y
  > x<-get.vertex.attribute(dyn,"animation.x.active")
  > y<-get.vertex.attribute(dyn,"animation.y.active")
  > if(any(is.na(x)) | any(is.na(y))){
  +   stop('compute.animation did not store animation.x and animation.y vertex attributes')
  + }
  > 
  > # does it give same results from same seed
  > x1 <-get.vertex.attribute.active(dyn,"animation.x",at=1)
  > set.seed(123)
  > dyn <-compute.animation(dyn,slice.par=slice.par,verbose=FALSE)
  > x2 <-get.vertex.attribute.active(dyn,"animation.x",at=1)
  > if (!all(x1==x2)){
  +   stop("compute.animation did not generate the same results fromt he same seed")
  + }
  > 
  > # does aggregate.dur change results
  > set.seed(123)
  > slice.par<-list(start=0,end=2,interval=1, aggregate.dur=1,rule="any")
  > dyn <-compute.animation(dyn,slice.par=slice.par,verbose=FALSE)
  > x1 <-get.vertex.attribute.active(dyn,"animation.x",onset=1,terminus=2)
  > slice.par<-list(start=0,end=2,interval=1, aggregate.dur=2,rule="any")
  > set.seed(123)
  > dyn <-compute.animation(dyn,slice.par=slice.par,verbose=FALSE)
  > x2 <-get.vertex.attribute.active(dyn,"animation.x",onset=1,terminus=2)
  > if (any(x1==x2)){
  +   stop("compute.animation did not give different results with a different aggreagate.dur")
  + }
  > 
  > # does aggregation rule change results
  > set.seed(123)
  > slice.par<-list(start=0,end=2,interval=1, aggregate.dur=2,rule="any")
  > dyn <-compute.animation(dyn,slice.par=slice.par,verbose=FALSE)
  > x1 <-get.vertex.attribute.active(dyn,"animation.x",at=1)
  > slice.par<-list(start=0,end=2,interval=1, aggregate.dur=2,rule="all")
  > set.seed(123)
  > dyn <-compute.animation(dyn,slice.par=slice.par,verbose=FALSE)
  > x2 <-get.vertex.attribute.active(dyn,"animation.x",at=1)
  > if (any(x1==x2)){
  +   stop("compute.animation did not give different results with a different aggregation rule")
  + }
  > 
  > # does default.dist change results
  > data(stergm.sim.1)
  > set.seed(123)
  > slice.par<-list(start=0,end=2,interval=1, aggregate.dur=1,rule='latest')
  > stergm.sim.1 <-compute.animation(stergm.sim.1,slice.par=slice.par,verbose=FALSE)
  > x1 <-get.vertex.attribute.active(stergm.sim.1,"animation.x",at=1)
  > set.seed(123)
  > stergm.sim.1 <-compute.animation(stergm.sim.1,slice.par=slice.par,default.dist=100,verbose=FALSE)
  > x2 <-get.vertex.attribute.active(stergm.sim.1,"animation.x",at=1)
  > if (any(x1==x2)){
  +   stop("compute.animation did not give different results with a different default.dist")
  + }
  > 
  > 
  > # check with incomplete slice.par
  > expect_error(compute.animation(stergm.sim.1,slice.par=list()),"the 'slice.par' argument to compute.animation must include")
  Error in expect_error(compute.animation(stergm.sim.1, slice.par = list()),  : 
    could not find function "expect_error"
  Execution halted
Running the tests in ‘tests/d3_animation_tests.R’ failed.
Complete output:
  > #  File tests/d3_animation_tests.R in package ndtv, part of the Statnet suite
  > #  of packages for network analysis, http://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
  > #  http://statnet.org/attribution
  > #
  > #  Copyright 2014 Statnet Commons
  > #######################################################################
  > 
  > # tests for d3 animation functionality
  > library(ndtv)
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.0 created on 2019-11-30.
  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.
  
  Loading required package: networkDynamic
  
  networkDynamic: version 0.10.1, created on 2020-01-16
  Copyright (c) 2020, 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: animation
  Loading required package: sna
  Loading required package: statnet.common
  
  Attaching package: 'statnet.common'
  
  The following object is masked from 'package:base':
  
      order
  
  sna: Tools for Social Network Analysis
  Version 2.5 created on 2019-12-09.
  copyright (c) 2005, Carter T. Butts, University of California-Irvine
   For citation information, type citation("sna").
   Type help(package="sna") to get started.
  
  
  ndtv: version 0.13.0, created on 2019-05-21
  Copyright (c) 2019, Skye Bender-deMoll, University of Washington
                      with contributions from
                      Martina Morris, University of Washington
  Based on "statnet" project software (statnet.org).
  For license and citation information see statnet.org/attribution
  or type citation("ndtv").
  
  > require(testthat)
  Loading required package: testthat
  Warning message:
  In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
    there is no package called 'testthat'
  > 
  > # flip this to true if you actually want it to open a gajillion browser windows
  > showInBrowser=FALSE
  > 
  > # create really trivial network for testing
  > test<-network.initialize(3)
  > activate.vertices(test,v=1,onset=1,terminus=3)
  > activate.vertices(test,v=3:3,onset=0,terminus=5)
  > add.edges.active(test,tail=2,head=3,onset=1,terminus=5)
  > 
  > # test output formats
  > render.d3movie(test,filename=tempfile(fileext = '.html'),launchBrowser = showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd695910f2.html
  > render.d3movie(test,filename=tempfile(fileext = '.json'),output.mode='JSON')
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation JSON representation to /tmp/RtmprSaO34/file71bd3b3b5f2c.json
  > 
  > # test browser launch
  > render.d3movie(test,filename=tempfile(fileext = '.json'),output.mode='JSON',launchBrowser = showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation JSON representation to /tmp/RtmprSaO34/file71bd3441c04.json
  > 
  > # test xlab
  > render.d3movie(test,filename=tempfile(fileext = '.html'),xlab='hello, xlabel',launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd24b02cd1.html
  > 
  > # test main
  > render.d3movie(test,filename=tempfile(fileext = '.html'),main='hello, main',launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd2314201b.html
  > 
  > # test displaylabels
  > render.d3movie(test,filename=tempfile(fileext = '.html'),displaylabels=FALSE,launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd4a2b49da.html
  > 
  > # test use arrows
  > render.d3movie(test,filename=tempfile(fileext = '.html'),usearrows=FALSE,launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd6b4e66c.html
  > 
  > # test bg
  > render.d3movie(test,filename=tempfile(fileext = '.html'),bg='red',launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd1f1baf1.html
  > 
  > # test vertex.cex
  > render.d3movie(test,filename=tempfile(fileext = '.html'),vertex.cex=5,launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd57ad148e.html
  > 
  > # test vertex label
  > render.d3movie(test,filename=tempfile(fileext = '.html'),label="we all have the same label",launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd37d10c5.html
  > 
  > # test label cex
  > render.d3movie(test,filename=tempfile(fileext = '.html'),label.cex=c(0.5,2,4),launchBrowser=showInBrowser,displaylabels=TRUE)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd7abe2fe8.html
  > 
  > # test vertex label color
  > render.d3movie(test,filename=tempfile(fileext = '.html'),label.col='red',launchBrowser=showInBrowser,displaylabels=TRUE)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd60d56750.html
  > 
  > # test vertex color
  > render.d3movie(test,filename=tempfile(fileext = 'html'),vertex.col='blue',launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd793c6bdchtml
  > 
  > # test vertex sides
  > render.d3movie(test,filename=tempfile(fileext = 'html'),vertex.sides=3,launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd1aeb4de5html
  > 
  > # vertex rotation
  > render.d3movie(test,filename=tempfile(fileext = 'html'),vertex.sides=3,vertex.rot=c(0,90,180),launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd5f294eb0html
  > 
  > # vertex border color
  > render.d3movie(test,filename=tempfile(fileext = 'html'),vertex.border='green',launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd504673fchtml
  > 
  > # vertex border width
  > render.d3movie(test,filename=tempfile(fileext = 'html'),vertex.lwd=5,launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd2ab17941html
  > 
  > # test edge color
  > render.d3movie(test,filename=tempfile(fileext = 'html'),edge.col='blue',launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd266a36behtml
  > 
  > # test edge width
  > render.d3movie(test,filename=tempfile(fileext = 'html'),edge.lwd=10,launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd28be1d66html
  > 
  > # test transparent edge color
  > render.d3movie(test,filename=tempfile(fileext = 'html'),edge.col='#CCCCCC22',edge.lwd=10,launchBrowser=showInBrowser)
  No slice.par found, using
  slice parameters:
    start:0
    end:5
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  Calculating layout for network slice from time  1 to 2
  Calculating layout for network slice from time  2 to 3
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  Calculating layout for network slice from time  5 to 6
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  caching 10 properties for slice 2
  caching 10 properties for slice 3
  caching 10 properties for slice 4
  caching 10 properties for slice 5
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd1dd12b4fhtml
  > 
  > 
  > # test static network
  > testStatic<-network.initialize(4)
  > testStatic[1,2:3]<-1
  > render.d3movie(testStatic)
  input network is not networkDynamic object and does not have temporal info so output animation controls disabled by default
  Calculating layout for network slice from time  0 to 0
  caching 10 properties for slice 0
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd7f5a6f25.html
  opening local URL file:///tmp/RtmprSaO34/file71bd7f5a6f25.html in web browser
  > 
  > # test passing in coord to static network
  > testStatic<-network.initialize(4)
  > testStatic[1,2:3]<-1
  > render.d3movie(testStatic,coord=matrix(1:8,ncol=2))
  input network is not networkDynamic object and does not have temporal info so output animation controls disabled by default
  caching 10 properties for slice 0
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd29aa1dd.html
  opening local URL file:///tmp/RtmprSaO34/file71bd29aa1dd.html in web browser
  > 
  > # test rendering network of size zero (issue #24)
  > test<-network.initialize(0)
  > activate.vertices(test)
  > activate.vertex.attribute(test,'foo',1,onset=0,terminus=1)
  > render.d3movie(test,vertex.cex='foo')
  No slice.par found, using
  slice parameters:
    start:0
    end:0
    interval:1
    aggregate.dur:1
    rule:latest
  
  Calculating layout for network slice from time  0 to 1
  caching 10 properties for slice 0
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd1c97c98.html
  opening local URL file:///tmp/RtmprSaO34/file71bd1c97c98.html in web browser
  There were 13 warnings (use warnings() to see them)
  > 
  > # test rendering of edge attribute for network with edge not active # 25
  > test<-network.initialize(2)
  > add.edges.active(test,1,2,onset=0,terminus=2)
  > activate.edge.attribute(test,'weight',1, onset=0,terminus=2)
  > compute.animation(test,slice.par = list(start=3,end=4,interval=1,aggregate.dur=1,rule='earliest'))
  Calculating layout for network slice from time  3 to 4
  Calculating layout for network slice from time  4 to 5
  > render.d3movie(test,edge.lwd='weight')
  caching 10 properties for slice 0
  caching 10 properties for slice 1
  wrote animation HTML file to /tmp/RtmprSaO34/file71bd753d6d.html
  opening local URL file:///tmp/RtmprSaO34/file71bd753d6d.html in web browser
  > 
  > # test rendering of edge attribute for network with attribute not active
  > # (should give error because do 'default' attribute is defined)
  > test<-network.initialize(2)
  > add.edges.active(test,1,2,onset=0,terminus=2)
  > activate.edge.attribute(test,'weight',1, onset=1,terminus=2)
  > expect_error( render.d3movie(test,edge.lwd='weight'),regexp = 'had illegal missing values for')
  Error in expect_error(render.d3movie(test, edge.lwd = "weight"), regexp = "had illegal missing values for") : 
    could not find function "expect_error"
  Execution halted
Running the tests in ‘tests/effects_tests.R’ failed.
Complete output:
  > library(ndtv)
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.0 created on 2019-11-30.
  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.
  
  Loading required package: networkDynamic
  
  networkDynamic: version 0.10.1, created on 2020-01-16
  Copyright (c) 2020, 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: animation
  Loading required package: sna
  Loading required package: statnet.common
  
  Attaching package: 'statnet.common'
  
  The following object is masked from 'package:base':
  
      order
  
  sna: Tools for Social Network Analysis
  Version 2.5 created on 2019-12-09.
  copyright (c) 2005, Carter T. Butts, University of California-Irvine
   For citation information, type citation("sna").
   Type help(package="sna") to get started.
  
  
  ndtv: version 0.13.0, created on 2019-05-21
  Copyright (c) 2019, Skye Bender-deMoll, University of Washington
                      with contributions from
                      Martina Morris, University of Washington
  Based on "statnet" project software (statnet.org).
  For license and citation information see statnet.org/attribution
  or type citation("ndtv").
  
  > data("short.stergm.sim")
  > data("toy_epi_sim")
  > data("windsurfers")
  > require(testthat)
  Loading required package: testthat
  Warning message:
  In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
    there is no package called 'testthat'
  > 
  > compute.animation(short.stergm.sim,slice.par = list(start=0,end=25,interval=1, aggregate.dur=5,rule='latest'))
  Calculating layout for network slice from time  0 to 5
  Calculating layout for network slice from time  1 to 6
  Calculating layout for network slice from time  2 to 7
  Calculating layout for network slice from time  3 to 8
  Calculating layout for network slice from time  4 to 9
  Calculating layout for network slice from time  5 to 10
  Calculating layout for network slice from time  6 to 11
  Calculating layout for network slice from time  7 to 12
  Calculating layout for network slice from time  8 to 13
  Calculating layout for network slice from time  9 to 14
  Calculating layout for network slice from time  10 to 15
  Calculating layout for network slice from time  11 to 16
  Calculating layout for network slice from time  12 to 17
  Calculating layout for network slice from time  13 to 18
  Calculating layout for network slice from time  14 to 19
  Calculating layout for network slice from time  15 to 20
  Calculating layout for network slice from time  16 to 21
  Calculating layout for network slice from time  17 to 22
  Calculating layout for network slice from time  18 to 23
  Calculating layout for network slice from time  19 to 24
  Calculating layout for network slice from time  20 to 25
  Calculating layout for network slice from time  21 to 26
  Calculating layout for network slice from time  22 to 27
  Calculating layout for network slice from time  23 to 28
  Calculating layout for network slice from time  24 to 29
  Calculating layout for network slice from time  25 to 30
  > render.animation(short.stergm.sim,edge.col=effectFun('edgeAgeColor',fade.dur=5,start.color = 'red',end.color='blue'))
  rendering 10 frames for slice 0
  rendering 10 frames for slice 1
  rendering 10 frames for slice 2
  rendering 10 frames for slice 3
  rendering 10 frames for slice 4
  rendering 10 frames for slice 5
  rendering 10 frames for slice 6
  rendering 10 frames for slice 7
  rendering 10 frames for slice 8
  rendering 10 frames for slice 9
  rendering 10 frames for slice 10
  rendering 10 frames for slice 11
  rendering 10 frames for slice 12
  rendering 10 frames for slice 13
  rendering 10 frames for slice 14
  rendering 10 frames for slice 15
  rendering 10 frames for slice 16
  rendering 10 frames for slice 17
  rendering 10 frames for slice 18
  rendering 10 frames for slice 19
  rendering 10 frames for slice 20
  rendering 10 frames for slice 21
  rendering 10 frames for slice 22
  rendering 10 frames for slice 23
  rendering 10 frames for slice 24
  rendering 10 frames for slice 25
  Warning messages:
  1: In min(e) : no non-missing arguments to min; returning Inf
  2: In max(e) : no non-missing arguments to max; returning -Inf
  > 
  > # test function wrapper
  > effFun<-effectFun('edgeAgeColor',fade.dur=5)
  > expect_true(is.function(effFun))
  Error in expect_true(is.function(effFun)) : 
    could not find function "expect_true"
  Execution halted
Running the tests in ‘tests/filmstrip_tests.R’ failed.
Complete output:
  > #  part of the Statnet suite
  > #  of packages for network analysis, http://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
  > #  http://statnet.org/attribution
  > #
  > #  Copyright 2012-2013 Statnet Commons
  > #######################################################################
  > 
  > require(ndtv)
  Loading required package: ndtv
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.0 created on 2019-11-30.
  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.
  
  Loading required package: networkDynamic
  
  networkDynamic: version 0.10.1, created on 2020-01-16
  Copyright (c) 2020, 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: animation
  Loading required package: sna
  Loading required package: statnet.common
  
  Attaching package: 'statnet.common'
  
  The following object is masked from 'package:base':
  
      order
  
  sna: Tools for Social Network Analysis
  Version 2.5 created on 2019-12-09.
  copyright (c) 2005, Carter T. Butts, University of California-Irvine
   For citation information, type citation("sna").
   Type help(package="sna") to get started.
  
  
  ndtv: version 0.13.0, created on 2019-05-21
  Copyright (c) 2019, Skye Bender-deMoll, University of Washington
                      with contributions from
                      Martina Morris, University of Washington
  Based on "statnet" project software (statnet.org).
  For license and citation information see statnet.org/attribution
  or type citation("ndtv").
  
  > require(testthat)
  Loading required package: testthat
  Warning message:
  In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
    there is no package called 'testthat'
  > 
  > # ------- tests for filmstrip funciton -----
  > data(stergm.sim.1)
  > 
  > #try a default
  > filmstrip(stergm.sim.1)
  No coordinate information found in network, running compute.animation
  > 
  > # check that par was reset back to original
  > expect_equal(par()$mfcol,c(1,1))
  Error in expect_equal(par()$mfcol, c(1, 1)) : 
    could not find function "expect_equal"
  Execution halted
Running the tests in ‘tests/layout_tests.R’ failed.
Complete output:
  > #  part of the Statnet suite
  > #  of packages for network analysis, http://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
  > #  http://statnet.org/attribution
  > #
  > #  Copyright 2012-2014 Statnet Commons
  > #######################################################################
  > 
  > # tests for the network animation layout functions
  > require(ndtv)
  Loading required package: ndtv
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.0 created on 2019-11-30.
  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.
  
  Loading required package: networkDynamic
  
  networkDynamic: version 0.10.1, created on 2020-01-16
  Copyright (c) 2020, 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: animation
  Loading required package: sna
  Loading required package: statnet.common
  
  Attaching package: 'statnet.common'
  
  The following object is masked from 'package:base':
  
      order
  
  sna: Tools for Social Network Analysis
  Version 2.5 created on 2019-12-09.
  copyright (c) 2005, Carter T. Butts, University of California-Irvine
   For citation information, type citation("sna").
   Type help(package="sna") to get started.
  
  
  ndtv: version 0.13.0, created on 2019-05-21
  Copyright (c) 2019, Skye Bender-deMoll, University of Washington
                      with contributions from
                      Martina Morris, University of Washington
  Based on "statnet" project software (statnet.org).
  For license and citation information see statnet.org/attribution
  or type citation("ndtv").
  
  > require(testthat)
  Loading required package: testthat
  Warning message:
  In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
    there is no package called 'testthat'
  > # ---- test using a dynamic attribute for layout positions ----
  > 
  > # check what happens if coords not defined
  > nd <-as.networkDynamic(network.initialize(3))
  > expect_error(compute.animation(nd,animation.mode='useAttribute'), 'unable to find vertex attribute x containing x')
  Error in expect_error(compute.animation(nd, animation.mode = "useAttribute"),  : 
    could not find function "expect_error"
  Execution halted
Running the tests in ‘tests/proximity.timeline_test.R’ failed.
Complete output:
  > # some tests tfor the proximity.timeline function
  > require(ndtv)
  Loading required package: ndtv
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.0 created on 2019-11-30.
  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.
  
  Loading required package: networkDynamic
  
  networkDynamic: version 0.10.1, created on 2020-01-16
  Copyright (c) 2020, 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: animation
  Loading required package: sna
  Loading required package: statnet.common
  
  Attaching package: 'statnet.common'
  
  The following object is masked from 'package:base':
  
      order
  
  sna: Tools for Social Network Analysis
  Version 2.5 created on 2019-12-09.
  copyright (c) 2005, Carter T. Butts, University of California-Irvine
   For citation information, type citation("sna").
   Type help(package="sna") to get started.
  
  
  ndtv: version 0.13.0, created on 2019-05-21
  Copyright (c) 2019, Skye Bender-deMoll, University of Washington
                      with contributions from
                      Martina Morris, University of Washington
  Based on "statnet" project software (statnet.org).
  For license and citation information see statnet.org/attribution
  or type citation("ndtv").
  
  > require(testthat)
  Loading required package: testthat
  Warning message:
  In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
    there is no package called 'testthat'
  > 
  > test<-network.initialize(10)
  > add.edges.active(test,head=1:9,tail=2:10,onset=0,terminus=10)
  > add.edges.active(test,head=1,tail=3,onset=1,terminus=2)
  > proximity.timeline(test)
  collapsing slice networks ...
  computing vertex positions using 1D isoMDS layout ...
    computing positions for slice 1
    computing positions for slice 2
    computing positions for slice 3
    computing positions for slice 4
  rendering splines for each vertex ...
  > 
  > data(McFarland_cls33_10_16_96)
  > proximity.timeline(cls33_10_16_96,onsets=seq(0,45,5),termini=seq(2.5,47.5,5),vertex.cex=(cls33_10_16_96%v%'type'=='instructor')*4+1,labels.at=45)
  collapsing slice networks ...
  computing vertex positions using 1D isoMDS layout ...
    computing positions for slice 1
    computing positions for slice 2
    computing positions for slice 3
    computing positions for slice 4
    computing positions for slice 5
    computing positions for slice 6
    computing positions for slice 7
    computing positions for slice 8
    computing positions for slice 9
    computing positions for slice 10
  rendering splines for each vertex ...
  > 
  > # test algorithm types
  > test_that("algorithms work",{
  + # isoMDS is default, so already tested
  + proximity.timeline(cls33_10_16_96,onsets=seq(0,45,5),termini=seq(2.5,47.5,5),mode='sammon')
  + proximity.timeline(cls33_10_16_96,onsets=seq(0,45,5),termini=seq(2.5,47.5,5),mode='cmdscale')
  + proximity.timeline(cls33_10_16_96,onsets=seq(0,45,5),termini=seq(2.5,47.5,5),mode='gvNeato')
  + # only check MDSJ if allready installed (and not on CRAN)
  + skip_on_cran()
  + has.mdsj<-ndtv:::check.mdsj(ask=FALSE)
  + if(!is.null(has.mdsj)){
  + proximity.timeline(cls33_10_16_96,onsets=seq(0,45,5),termini=seq(2.5,47.5,5),mode='MDSJ')
  + }
  + 
  + })
  Error in test_that("algorithms work", { : 
    could not find function "test_that"
  Execution halted
Running the tests in ‘tests/transmissionTimelineTests.R’ failed.
Complete output:
  > # tests for transmission timeline
  > require(testthat)
  Loading required package: testthat
  Warning message:
  In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
    there is no package called 'testthat'
  > require(ndtv)
  Loading required package: ndtv
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.0 created on 2019-11-30.
  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.
  
  Loading required package: networkDynamic
  
  networkDynamic: version 0.10.1, created on 2020-01-16
  Copyright (c) 2020, 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: animation
  Loading required package: sna
  Loading required package: statnet.common
  
  Attaching package: 'statnet.common'
  
  The following object is masked from 'package:base':
  
      order
  
  sna: Tools for Social Network Analysis
  Version 2.5 created on 2019-12-09.
  copyright (c) 2005, Carter T. Butts, University of California-Irvine
   For citation information, type citation("sna").
   Type help(package="sna") to get started.
  
  
  ndtv: version 0.13.0, created on 2019-05-21
  Copyright (c) 2019, Skye Bender-deMoll, University of Washington
                      with contributions from
                      Martina Morris, University of Washington
  Based on "statnet" project software (statnet.org).
  For license and citation information see statnet.org/attribution
  or type citation("ndtv").
  
  > #require(tsna)
  > #data(moodyContactSim)
  > #v10path<-tPath(moodyContactSim,v=10,start=0)
  > #v11path<-tPath(moodyContactSim,v=11,start=0)
  > #v12path<-tPath(moodyContactSim,v=12,start=0)
  > 
  > # creating v10 path via structure for now so don't bring in tsna dep
  > v10path<-structure(list(tdist = c(583, 494, 634, 40, 712, 701, 224, 719,  674, 0, 749, 621, 453, 665, 709, 575), previous = c(16, 13, 13,  10, 13, 16, 10, 13, 1, 0, 8, 1, 4, 4, 2, 2), gsteps = c(5, 3,  3, 1, 3, 5, 1, 3, 6, 0, 4, 6, 2, 2, 4, 4), start = 0, end = Inf,      direction = "fwd", type = "earliest.arrive"), .Names = c("tdist",  "previous", "gsteps", "start", "end", "direction", "type"), class = c("tPath",  "list"))
  > 
  > transmissionTimeline(v10path)
  Loading required namespace: tsna
  > transmissionTimeline(v10path,displaylabels = TRUE)
  > transmissionTimeline(v10path,displaylabels = TRUE,label='a')
  > transmissionTimeline(v10path,displaylabels = TRUE,label.col='blue')
  > transmissionTimeline(v10path,displaylabels = TRUE,label.cex=2)
  > transmissionTimeline(v10path,vertex.col='blue')
  > transmissionTimeline(v10path,vertex.border='blue')
  > transmissionTimeline(v10path,vertex.lwd=1:3)
  > transmissionTimeline(v10path,vertex.sides = c(3,4,50))
  > transmissionTimeline(v10path,edge.col='blue')
  > transmissionTimeline(v10path,edge.lwd=5)
  > transmissionTimeline(v10path,edge.lty=2)
  > transmissionTimeline(v10path,xlab='hello',ylab='world',main='diffusion tree timeline plot')
  > 
  > 
  > 
  > 
  > data("toy_epi_sim")
  > 
  > expect_error(transmissionTimeline(toy_epi_sim,time.attr='foo'),regexp = 'is not a vertex attribute of the network')
  Error in expect_error(transmissionTimeline(toy_epi_sim, time.attr = "foo"),  : 
    could not find function "expect_error"
  Execution halted