Running ‘activate_tests.R’ [1s/1s]
  Running ‘age.at_tests.R’ [1s/1s]
  Running ‘classTests.R’ [1s/1s]
  Running ‘converter_tests.R’ [1s/1s]
  Running ‘get_tests.R’ [1s/2s]
  Running ‘import_tests.R’ [2s/3s]
  Running ‘network_tests.R’ [1s/1s]
  Running ‘pid_tests.R’ [1s/1s]
  Running ‘query_tests.R’ [1s/1s]
  Running ‘reconcile.activityTests.R’ [1s/2s]
  Running ‘tea_tests.R’ [1s/2s]
  Running ‘utils_tests.R’ [1s/1s]
  Running ‘when_tests.R’ [1s/1s]
Running the tests in ‘tests/activate_tests.R’ failed.
Complete output:
  > #  Part of the statnet package, http://statnetproject.org
  > #
  > #  This software is distributed under the GPL-3 license.  It is free,
  > #  open source, and has the attribution requirements (GPL Section 7) in
  > #    http://statnetproject.org/attribution
  > #
  > #  Copyright 2013 the statnet development team
  > ######################################################################
  > 
  > 
  > ########################################################################
  > # This file contains the testing suite for the "activate" methods, i.e.:
  > #      activate.edges        deactivate.edges
  > #      activate.vertices     deactivate.vertices     
  > #########################################################################
  > 
  > require(networkDynamic)
  Loading required package: networkDynamic
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.1 created on 2020-10-06.
  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.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").
  
  > require(testthat)
  Loading required package: testthat
  > 
  > 
  > #------------------- ACTIVATE.EDGES TESTS ------------------------
  > # Notes:
  > #  --except for the error-checking code, the rest of the tests
  > #    are meant to be exhaustive
  > #-----------------------------------------------------------------
  > 
  > cat("testing activate.edges ... ")
  testing activate.edges ... > anet <- network.initialize(100)
  Error in set.vertex.attribute(g, "na", rep(FALSE, n), 1:n) : 
    attempt to set index 0/0 in SET_VECTOR_ELT
  Calls: network.initialize -> set.vertex.attribute
  Execution halted
Running the tests in ‘tests/age.at_tests.R’ failed.
Complete output:
  > # tests for age.at functions
  > library(networkDynamic)
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.1 created on 2020-10-06.
  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.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").
  
  > library(testthat)
  > 
  > # ---------- edges.age.at tests ------
  > test<-network.initialize(5)
  Error in set.vertex.attribute(g, "na", rep(FALSE, n), 1:n) : 
    attempt to set index 0/0 in SET_VECTOR_ELT
  Calls: network.initialize -> set.vertex.attribute
  Execution halted
Running the tests in ‘tests/classTests.R’ failed.
Complete output:
  > #  Part of the statnet package, http://statnetproject.org
  > #
  > #  This software is distributed under the GPL-3 license.  It is free,
  > #  open source, and has the attribution requirements (GPL Section 7) in
  > #    http://statnetproject.org/attribution
  > #
  > #  Copyright 2013 the statnet development team
  > ######################################################################
  > 
  > # tests to determine if the networkDynamic class is being set appropriately tested for
  > 
  > library(networkDynamic)
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.1 created on 2020-10-06.
  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.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").
  
  > require(testthat)
  Loading required package: testthat
  > #check if activate.edge sets class.
  > net <- network.initialize(5)
  Error in set.vertex.attribute(g, "na", rep(FALSE, n), 1:n) : 
    attempt to set index 0/0 in SET_VECTOR_ELT
  Calls: network.initialize -> set.vertex.attribute
  Execution halted
Running the tests in ‘tests/converter_tests.R’ failed.
Complete output:
  > #  Part of the statnet package, http://statnetproject.org
  > #
  > #  This software is distributed under the GPL-3 license.  It is free,
  > #  open source, and has the attribution requirements (GPL Section 7) in
  > #    http://statnetproject.org/attribution
  > #
  > #  Copyright 2013 the statnet development team
  > ######################################################################
  > 
  > #test networkDynamic conversion functionality
  > 
  > require(networkDynamic)
  Loading required package: networkDynamic
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.1 created on 2020-10-06.
  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.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").
  
  > require(testthat)
  Loading required package: testthat
  > 
  > 
  > # ------ get.vertex.activity test ------
  > 
  > net<-network.initialize(5)
  Error in set.vertex.attribute(g, "na", rep(FALSE, n), 1:n) : 
    attempt to set index 0/0 in SET_VECTOR_ELT
  Calls: network.initialize -> set.vertex.attribute
  Execution halted
Running the tests in ‘tests/get_tests.R’ failed.
Complete output:
  > ########################################################################
  > # This file contains the testing suite for the "get" methods, i.e.:
  > #      get.edgeIDs.active
  > #      get.edges.active
  > #      get.neighborhood.active     
  > #      get.change.times
  > #########################################################################
  > 
  > require(networkDynamic)
  Loading required package: networkDynamic
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.1 created on 2020-10-06.
  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.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").
  
  > require(testthat)
  Loading required package: testthat
  > 
  > #---------------- GET.CHANGE.TIMES TESTS ------------------------
  > # Notes:
  > #  -- minimal level of testing done here. sorry -- alc 6/28/12
  > #-------------------------------------------------------------------
  > 
  > cat("testing get.change.times ... ")
  testing get.change.times ... > 
  > # a case with no change times
  > data(flo)
  > net1 = network(flo)
  Error in set.vertex.attribute(g, "na", rep(FALSE, n), 1:n) : 
    attempt to set index 0/0 in SET_VECTOR_ELT
  Calls: network ... as.network.matrix -> network.initialize -> set.vertex.attribute
  Execution halted
Running the tests in ‘tests/import_tests.R’ failed.
Complete output:
  > # tests of file importing in various formats
  > require(networkDynamic)
  Loading required package: networkDynamic
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.1 created on 2020-10-06.
  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.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").
  
  > require(testthat)
  Loading required package: testthat
  > pkgpath<-path.package('networkDynamic') # for accessing test files
  > # below is a work around for local-specific sort order bug in R CMD check 
  > # that causes order of attributes in the list to be sorted differently
  > Sys.setlocale("LC_COLLATE", "C")
  [1] "C"
  > 
  > 
  > # ----- read.son import tests ---
  > # try reading basic file containing alpha ids and with start time but no end time
  > # also includes a fake cluster, just to mess with things
  > test_that("file with alphaIds",{
  +   expect_warning(alphaIdNet<-read.son(paste(pkgpath,'/extdata/alphaIdTest.son',sep='')),regexp="Unable to locate an arc column for 'EndTime'")
  +   expect_equal(as.data.frame(alphaIdNet)$onset,c(0,0))
  +   expect_equal(as.data.frame(alphaIdNet)$terminus,c(0,0))
  +   expect_equal(as.data.frame(alphaIdNet)$tail,c(1,3))
  +   expect_equal(as.data.frame(alphaIdNet)$head,c(2,2))
  +   # did it load pid
  +   expect_equal(alphaIdNet%n%'vertex.pid','vertex.names')
  +   expect_equal(alphaIdNet%v%'vertex.names',c('1','2','three'))
  + })
  Initializing base.net of size 3 imputed from maximum vertex id in edge records
  ── Error (???): file with alphaIds ─────────────────────────────────────────────
  Error: attempt to set index 0/0 in SET_VECTOR_ELT
  Backtrace:
   1. testthat::expect_warning(...)
   6. networkDynamic::read.son(...)
   7. networkDynamic::networkDynamic(...)
   8. network::network.initialize(max.vertex)
   9. network::set.vertex.attribute(g, "na", rep(FALSE, n), 1:n)
  
  > 
  > test_that('reading attributes as tea',{
  +   # try reading the extra var test
  +   varsNet<-read.son(paste(pkgpath,'/extdata/extraVarTest.son',sep=''))
  +   # "unchanging" should be static, others active
  +   
  +   expect_equal(list.vertex.attributes(varsNet),c("Happiness.active","Label.active","Unchanging","active","na","vertex.names"))
  +   # ArcWeight should be loaded in as a static attriube             
  +   expect_equal(list.edge.attributes(varsNet),c("ArcWeight","active","na"))
  + })
  Initializing base.net of size 32 imputed from maximum vertex id in edge records
  ── Error (???): reading attributes as tea ──────────────────────────────────────
  Error: attempt to set index 0/0 in SET_VECTOR_ELT
  Backtrace:
   1. networkDynamic::read.son(...)
   2. networkDynamic::networkDynamic(...)
   3. network::network.initialize(max.vertex)
   4. network::set.vertex.attribute(g, "na", rep(FALSE, n), 1:n)
  
  > 
  > # check behavior of guess.TEA
  > test_that('guess.TEA flag works',{
  +   varsNet2<-read.son(paste(pkgpath,'/extdata/extraVarTest.son',sep=''),guess.TEA=FALSE)
  +   # unchanging should be active
  +   expect_equal(list.vertex.attributes(varsNet2),c("Happiness.active","Label.active","Unchanging.active","active","na","vertex.names"))
  +   # ArcWeight should be loaded in as a TEA attriube             
  +   expect_equal(list.edge.attributes(varsNet2),c("ArcWeight.active","active","na"))
  + })
  Initializing base.net of size 32 imputed from maximum vertex id in edge records
  ── Error (???): guess.TEA flag works ───────────────────────────────────────────
  Error: attempt to set index 0/0 in SET_VECTOR_ELT
  Backtrace:
   1. networkDynamic::read.son(...)
   2. networkDynamic::networkDynamic(...)
   3. network::network.initialize(max.vertex)
   4. network::set.vertex.attribute(g, "na", rep(FALSE, n), 1:n)
  
  > 
  > # try reading mcfarland classroom with attributes
  > test_that('mcfarland classroom file',{
  + cls33<-read.son(paste(pkgpath,'/extdata/cls33_10_16_96.son',sep=''))
  + expect_equal(network.size(cls33),20)
  + expect_equal(range(get.change.times(cls33)),c(0,49))
  + expect_equal(list.vertex.attributes(cls33),c("BorderColor", "BorderWidth", "ColorName",   "Label", "NodeShape", "NodeSize","active","na","vertex.names"))
  + 
  + # check that vertex attributes were parsed correctly
  + expect_equal(get.vertex.attribute(cls33,'BorderColor'),rep('black',20))
  + expect_equal(get.vertex.attribute(cls33,'BorderWidth'),rep(1.5,20))
  + expect_equal(get.vertex.attribute(cls33,'ColorName'),c("gray","gray","gray","darkGray","darkGray","gray","orange" ,  "gray","darkGray","gray","darkGray","gray","darkGray","orange" ,  "gray"  ,   "gray"   ,  "gray"   ,  "gray" ,    "gray"     ,"gray" ))
  + expect_equal(get.vertex.attribute(cls33,'Label'),c(122658 ,129047, 129340, 119263, 122631, 144843,   1003, 113433, 131642, 139722, 139195, 133105, 116749,      3, 146757, 121402, 127265, 121829, 113140, 128065))
  + expect_equal(get.vertex.attribute(cls33,'NodeShape'),c("ellipse", "rect",    "rect",    "rect",    "ellipse", "rect",    "rect",    "rect",    "rect",    "ellipse", "ellipse", "rect", "rect",    "rect",    "ellipse", "rect",    "ellipse", "ellipse", "rect",    "ellipse"))
  + expect_equal(get.vertex.attribute(cls33,'NodeSize'),rep(5,20))
  + 
  + # check that edge attributes parsed correctly
  + expect_equal(list.edge.attributes(cls33),c("ArcWeight.active","ArcWidth.active","ColorName.active","active","na"))
  + 
  + # check that a few specific edges have the correct values
  + # and check edge attrs read correct values
  + eid<-get.edgeIDs(cls33,v=14, alter=12)
  + expect_equal(get.edge.activity(cls33,e=eid)[[1]][,1], c(0.125,1.167,4.667,9.964,21.0,37.737,41.553))
  + expect_equal(unlist(get.edge.attribute(cls33,'ColorName.active',unlist=FALSE)[[eid]][[1]]),c("blue",  "black", "red",   "black", "red",   "black", "black"))
  + 
  + eid<-get.edgeIDs(cls33,v=4, alter=5)
  + expect_equal(get.edge.activity(cls33,e=eid)[[1]][,1], c(2.5,7.286,9.321,15.964,16.393,17.679,18.964,19.393,27.977,30.628,35.368,36.421))
  + 
  + expect_equal(unlist(get.edge.attribute(cls33,'ColorName.active',unlist=FALSE)[[eid]][[1]]),c("blue",  "blue",  "black", "blue",  "blue",  "black", "blue",  "blue",  "black", "black", "black", "blue" ))
  + eid<-get.edgeIDs(cls33,v=17, alter=6)
  + expect_equal(get.edge.activity(cls33,e=eid)[[1]][,1], 44.0)
  + expect_equal(unlist(get.edge.attribute(cls33,'ColorName.active',unlist=FALSE)[[eid]][[1]]),c("blue"))
  + })
  Initializing base.net of size 20 imputed from maximum vertex id in edge records
  ── Error (???): mcfarland classroom file ───────────────────────────────────────
  Error: attempt to set index 0/0 in SET_VECTOR_ELT
  Backtrace:
   1. networkDynamic::read.son(...)
   2. networkDynamic::networkDynamic(...)
   3. network::network.initialize(max.vertex)
   4. network::set.vertex.attribute(g, "na", rep(FALSE, n), 1:n)
  
  > 
  > 
  > # test file with no edges
  > # no arcs header
  > testContent<-"NodeId\tLabel\tStartTime\tEndTime\n1\tA\t0\t1\n2\tB\t0\t1\n"
  > tempFile<-tempfile()
  > cat(testContent,file=tempFile)
  > expect_warning(testNet<-read.son(tempFile),regexp='Unable to locate an arc header line')
  Initializing base.net of size 2 imputed from maximum vertex id in edge records
  Error in set.vertex.attribute(g, "na", rep(FALSE, n), 1:n) : 
    attempt to set index 0/0 in SET_VECTOR_ELT
  Calls: expect_warning ... networkDynamic -> network.initialize -> set.vertex.attribute
  Execution halted
Running the tests in ‘tests/network_tests.R’ failed.
Complete output:
  > ########################################################################
  > # This file contains the testing suite for the "network" methods, i.e.:
  > #
  > #   network.extract              network.edgecount.active
  > #   network.dynamic.check        network.naedgecount.active
  > #   network.dyadcount.active     network.size.active   
  > #########################################################################
  > 
  > require(networkDynamic)
  Loading required package: networkDynamic
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.1 created on 2020-10-06.
  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.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").
  
  > require(testthat) # helper package for unit tests
  Loading required package: testthat
  > 
  > 
  > #------------------------ NETWORK.EXTRACT ----------------------------
  > # Notes:
  > #  - I've tested combinations of retain.all.vertices with bipartite
  > #    and non-bipartite networks, directed and undirected networks,
  > #    networks w/ and w/o loops or multi-edges.  I have not tested
  > #    what would happen if users added onto the basic network structure,
  > #    or what happens if edges/nodes are missing.
  > #--------------------------------------------------------------------
  > 
  > cat("testing network.extract ... ")
  testing network.extract ... > 
  > # a network with no active anything and no edges
  > anet0 <- network.initialize(7, directed=FALSE)
  Error in set.vertex.attribute(g, "na", rep(FALSE, n), 1:n) : 
    attempt to set index 0/0 in SET_VECTOR_ELT
  Calls: network.initialize -> set.vertex.attribute
  Execution halted
Running the tests in ‘tests/pid_tests.R’ failed.
Complete output:
  > #  Part of the statnet package, http://statnetproject.org
  > #
  > #  This software is distributed under the GPL-3 license.  It is free,
  > #  open source, and has the attribution requirements (GPL Section 7) in
  > #    http://statnetproject.org/attribution
  > #
  > #  Copyright 2013 the statnet development team
  > ######################################################################
  > 
  > require(networkDynamic)
  Loading required package: networkDynamic
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.1 created on 2020-10-06.
  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.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").
  
  > require(testthat)
  Loading required package: testthat
  > 
  > #Create a network with three edges
  > m<-matrix(0,3,3)
  > m[1,2]<-1; m[2,3]<-1; m[3,1]<-1
  > g<-network(m)
  Error in set.vertex.attribute(g, "na", rep(FALSE, n), 1:n) : 
    attempt to set index 0/0 in SET_VECTOR_ELT
  Calls: network ... as.network.matrix -> network.initialize -> set.vertex.attribute
  Execution halted
Running the tests in ‘tests/query_tests.R’ failed.
Complete output:
  > #  Part of the statnet package, http://statnetproject.org
  > #
  > #  This software is distributed under the GPL-3 license.  It is free,
  > #  open source, and has the attribution requirements (GPL Section 7) in
  > #    http://statnetproject.org/attribution
  > #
  > #  Copyright 2013 the statnet development team
  > ######################################################################
  > 
  > ########################################################################
  > # This file contains the testing suite for the "query" methods, i.e.:
  > #     is.active
  > #     is.adjacent.active
  > #########################################################################
  > 
  > require(networkDynamic)
  Loading required package: networkDynamic
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.1 created on 2020-10-06.
  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.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").
  
  > require(testthat)
  Loading required package: testthat
  > 
  > 
  > #-------------------- IS.ACTIVE TESTS ---------------------------------
  > # Notes:
  > #  -these are meant to be exhaustive except where noted otherwise
  > #  -the list named "spells" created below is helpful for checking
  > #   that the tests are correctly written
  > #  -for understanding the comments, let
  > #      L=finite number lower than spell boundary,
  > #      H=finite number higher than spell boundary,
  > #      M=finite number within a spell boundary
  > #----------------------------------------------------------------------
  > 
  > # create a test network
  > anet <- network.initialize(100)
  Error in set.vertex.attribute(g, "na", rep(FALSE, n), 1:n) : 
    attempt to set index 0/0 in SET_VECTOR_ELT
  Calls: network.initialize -> set.vertex.attribute
  Execution halted
Running the tests in ‘tests/reconcile.activityTests.R’ failed.
Complete output:
  > #  Part of the statnet package, http://statnetproject.org
  > #
  > #  This software is distributed under the GPL-3 license.  It is free,
  > #  open source, and has the attribution requirements (GPL Section 7) in
  > #    http://statnetproject.org/attribution
  > #
  > #  Copyright 2013 the statnet development team
  > ######################################################################
  > # tests for the reconcile activity functions
  > require(networkDynamic)
  Loading required package: networkDynamic
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.1 created on 2020-10-06.
  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.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").
  
  > require(testthat)
  Loading required package: testthat
  > 
  > # ---- reconcile.vertex.activity tests ------------
  > # test when called with wrong object
  > expect_error(reconcile.vertex.activity("net"), 'only be applied to networkDynamic objects')
  > 
  > # test with isolate and inactive edge
  > nd<-network.initialize(6)
  Error in set.vertex.attribute(g, "na", rep(FALSE, n), 1:n) : 
    attempt to set index 0/0 in SET_VECTOR_ELT
  Calls: network.initialize -> set.vertex.attribute
  Execution halted
Running the tests in ‘tests/tea_tests.R’ failed.
Complete output:
  > #  Part of the statnet package, http://statnetproject.org
  > #
  > #  This software is distributed under the GPL-3 license.  It is free,
  > #  open source, and has the attribution requirements (GPL Section 7) in
  > #    http://statnetproject.org/attribution
  > #
  > #  Copyright 2013 the statnet development team
  > ######################################################################
  > 
  > require(networkDynamic)
  Loading required package: networkDynamic
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.1 created on 2020-10-06.
  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.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").
  
  > require(testthat)
  Loading required package: testthat
  > # -------------- activate.vertex.attribute----------------------
  > 
  > # gives error if argument not a network?
  > nd <-list()
  > expect_error(activate.vertex.attribute(nd,"letters","a",onset=0,terminus=1),"requires that the first argument be a network")
  > 
  > nd <- network.initialize(5)
  Error in set.vertex.attribute(g, "na", rep(FALSE, n), 1:n) : 
    attempt to set index 0/0 in SET_VECTOR_ELT
  Calls: network.initialize -> set.vertex.attribute
  Execution halted
Running the tests in ‘tests/utils_tests.R’ failed.
Complete output:
  > # tests for utilities functions
  > require(networkDynamic)
  Loading required package: networkDynamic
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.1 created on 2020-10-06.
  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.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").
  
  > require(testthat)
  Loading required package: testthat
  > # ------- test for adjust.activity -----
  > 
  > test<-network.initialize(3)
  Error in set.vertex.attribute(g, "na", rep(FALSE, n), 1:n) : 
    attempt to set index 0/0 in SET_VECTOR_ELT
  Calls: network.initialize -> set.vertex.attribute
  Execution halted
Running the tests in ‘tests/when_tests.R’ failed.
Complete output:
  > # tests for the when functions
  > require(testthat)
  Loading required package: testthat
  > require(networkDynamic)
  Loading required package: networkDynamic
  Loading required package: network
  network: Classes for Relational Data
  Version 1.16.1 created on 2020-10-06.
  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.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").
  
  > 
  > #------ when.vertex.attrs.match tests ----- 
  > 
  > test1<-network.initialize(5)
  Error in set.vertex.attribute(g, "na", rep(FALSE, n), 1:n) : 
    attempt to set index 0/0 in SET_VECTOR_ELT
  Calls: network.initialize -> set.vertex.attribute
  Execution halted