Running examples in 'CINNA-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: calculate_centralities
> ### Title: Centrality measure calculation
> ### Aliases: calculate_centralities
> 
> ### ** Examples
> 
> 
> data("zachary")
> p <- proper_centralities(zachary)
 [1] "subgraph centrality scores"                      
 [2] "Topological Coefficient"                         
 [3] "Average Distance"                                
 [4] "Barycenter Centrality"                           
 [5] "BottleNeck Centrality"                           
 [6] "Centroid value"                                  
 [7] "Closeness Centrality (Freeman)"                  
 [8] "ClusterRank"                                     
 [9] "Decay Centrality"                                
[10] "Degree Centrality"                               
[11] "Diffusion Degree"                                
[12] "DMNC - Density of Maximum Neighborhood Component"
[13] "Eccentricity Centrality"                         
[14] "Harary Centrality"                               
[15] "eigenvector centralities"                        
[16] "K-core Decomposition"                            
[17] "Geodesic K-Path Centrality"                      
[18] "Katz Centrality (Katz Status Index)"             
[19] "Kleinberg's authority centrality scores"         
[20] "Kleinberg's hub centrality scores"               
[21] "clustering coefficient"                          
[22] "Lin Centrality"                                  
[23] "Lobby Index (Centrality)"                        
[24] "Markov Centrality"                               
[25] "Radiality Centrality"                            
[26] "Shortest-Paths Betweenness Centrality"           
[27] "Current-Flow Closeness Centrality"               
[28] "Closeness centrality (Latora)"                   
[29] "Communicability Betweenness Centrality"          
[30] "Community Centrality"                            
[31] "Cross-Clique Connectivity"                       
[32] "Entropy Centrality"                              
[33] "EPC - Edge Percolated Component"                 
[34] "Laplacian Centrality"                            
[35] "Leverage Centrality"                             
[36] "MNC - Maximum Neighborhood Component"            
[37] "Hubbell Index"                                   
[38] "Semi Local Centrality"                           
[39] "Closeness Vitality"                              
[40] "Residual Closeness Centrality"                   
[41] "Stress Centrality"                               
[42] "Load Centrality"                                 
[43] "Flow Betweenness Centrality"                     
[44] "Information Centrality"                          
[45] "Dangalchev Closeness Centrality"                 
[46] "Group Centrality"                                
[47] "Harmonic Centrality"                             
[48] "Local Bridging Centrality"                       
[49] "Wiener Index Centrality"                         
> calculate_centralities(zachary, include = "Degree Centrality")
Error in set.vertex.attribute(g, "na", rep(FALSE, n), 1:n) : 
  attempt to set index 0/0 in SET_VECTOR_ELT
Calls: calculate_centralities ... as.network.matrix -> network.initialize -> set.vertex.attribute
Execution halted