Running ‘compute.animation_tests.R’ [2s/2s]
  Running ‘d3_animation_tests.R’ [3s/3s]
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.13.0 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.
  
  Loading required package: networkDynamic
  
  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: 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.4 created on 2016-07-23.
  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.10.0, created on 2016-5-6
  Copyright (c) 2016, 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").
  
  > 
  > # 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/RtmpAqMMtB/file2c6c35b2923d.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/RtmpAqMMtB/file2c6c6a516556.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/RtmpAqMMtB/file2c6c7c45f72b.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/RtmpAqMMtB/file2c6c70a41c3e.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/RtmpAqMMtB/file2c6c45268e4.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/RtmpAqMMtB/file2c6c1730504e.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/RtmpAqMMtB/file2c6c1010d7b8.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/RtmpAqMMtB/file2c6c41712f99.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/RtmpAqMMtB/file2c6c70f5b6fb.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/RtmpAqMMtB/file2c6c47848e24.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/RtmpAqMMtB/file2c6c7a34d93d.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/RtmpAqMMtB/file2c6c5a38ec20.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/RtmpAqMMtB/file2c6c243c505ahtml
  > 
  > # 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/RtmpAqMMtB/file2c6c111b8e1ehtml
  > 
  > # 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/RtmpAqMMtB/file2c6c54e47ahtml
  > 
  > # 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/RtmpAqMMtB/file2c6c63efa6abhtml
  > 
  > # 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/RtmpAqMMtB/file2c6c478a8e8ehtml
  > 
  > # 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/RtmpAqMMtB/file2c6c219f2eafhtml
  > 
  > # 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/RtmpAqMMtB/file2c6c7a48c94chtml
  > 
  > # 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/RtmpAqMMtB/file2c6c5621b76bhtml
  > 
  > 
  > # test static network
  > testStatic<-network.initialize(4)
  > testStatic[1,2:3]<-1
  Error in testStatic[1, 2:3] <- 1 : 
    incorrect number of subscripts on matrix
  Execution halted