Running ‘fit_node_no_new_edge.R’ [0s/1s]
  Running ‘loop_generate.R’ [0s/1s]
  Running ‘loop_joint_estimate.R’ [0s/1s]
  Running ‘loop_overall.R’ [0s/1s]
  Running ‘loop_test_Newman_Kong.R’ [0s/1s]
  Running ‘test_GenerateNet_final_padding.R’ [1s/2s]
  Running ‘test_GetStatistics_compress_2.R’ [1s/2s]
  Running ‘test_GetStatistics_undirected.R’ [2s/3s]
  Running ‘test_Newman_Kong.R’ [2s/3s]
  Running ‘test_cv_data.R’ [0s/1s]
  Running ‘test_from_igraph.R’ [1s/2s]
  Running ‘test_from_networkDynamic.R’ [2s/3s]
  Running ‘test_graph_from_file.R’ [1s/2s]
  Running ‘test_graph_to_file.R’ [1s/3s]
  Running ‘test_isolated_node.R’ [18s/19s]
  Running ‘test_isolated_node_2.R’ [21s/27s]
  Running ‘test_joint_estimate.R’ [22s/25s]
  Running ‘test_non_log_linear_PA.R’ [39s/42s]
  Running ‘test_only_A.R’ [2s/4s]
  Running ‘test_only_F.R’ [6s/8s]
  Running ‘test_overall.R’ [3s/5s]
  Running ‘test_plot_PAFit_net.R’ [6s/9s]
  Running ‘test_test_linear_PA.R’ [2s/4s]
  Running ‘test_to_igraph.R’ [1s/2s]
  Running ‘test_to_networkDynamic.R’ [2s/2s]
  Running ‘test_true_f.R’ [1s/2s]
  Running ‘test_variance_s.R’ [0s/1s]
Running the tests in ‘tests/test_Newman_Kong.R’ failed.
Complete output:
  > #testing generate_net, get_statistics, Jeong, Newman_corrected and PAFit
  > #set.seed(1)
  > library(PAFit)
  > for (prob_m in c("TRUE", "FALSE"))
  +   for (inc in c("TRUE","FALSE"))
  +     for (log in c("TRUE", "FALSE"))
  +       
  +       for (i in 1:1) {
  +         net  <- generate_net(N = 50, m = 10,prob_m = prob_m, increase = inc, log = log,
  +                             mode = i, s = 10)
  +         net_stats <- get_statistics(net,deg_threshold = 1, binning = TRUE, g = 10) 
  +         result_Jeong  <- Jeong(net , net_stats, T_0_start = 0, T_0_end = 20, T_1_start = 30)
  +         plot(result_Jeong,net_stats)
  +         plot(result_Jeong,net_stats, line = TRUE)
  +         print(result_Jeong)
  +         summary(result_Jeong)
  +        
  +         result_Jeong  <- Jeong(net,net_stats, T_0_start = 0, T_0_end = 20, T_1_start = 30)
  +         print(result_Jeong)
  +         summary(result_Jeong)
  +         plot(result_Jeong,net_stats)
  +         plot(result_Jeong,net_stats, line = TRUE)
  +        
  +         result_Newman <- Newman(net, net_stats)
  +         print(result_Newman)
  +         summary(result_Newman)
  +         plot(result_Newman,net_stats)
  +         plot(result_Newman,net_stats, line = TRUE)
  +        result_Newman <- Newman(net, net_stats, interpolate = TRUE)
  +         print(result_Newman)
  +         summary(result_Newman)
  +         plot(result_Newman,net_stats)
  +         plot(result_Newman,net_stats, line = TRUE)
  +        
  + }
  [1] "In plot.pa"
  [1] "In plot.pa"
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 0.6227974 
  Attachment exponent ± 2 s.d. : (-1.454206,2.699801)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 0.6227974 
  Attachment exponent ± 2 s.d.: (-1.454206,2.699801)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 0.6227974 
  Attachment exponent ± 2 s.d. : (-1.454206,2.699801)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 0.6227974 
  Attachment exponent ± 2 s.d.: (-1.454206,2.699801)
  [1] "In plot.pa"
  [1] "In plot.pa"
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 1.271947 
  Attachment exponent ± 2 s.d. : (1.119639,1.424255)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 1.271947 
  Attachment exponent ± 2 s.d.: (1.119639,1.424255)
  [1] "In plot.pa"
  [1] "In plot.pa"
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 1.271947 
  Attachment exponent ± 2 s.d. : (1.119639,1.424255)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 1.271947 
  Attachment exponent ± 2 s.d.: (1.119639,1.424255)
  [1] "In plot.pa"
  [1] "In plot.pa"
  [1] "In plot.pa"
  [1] "In plot.pa"
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 1.297266 
  Attachment exponent ± 2 s.d. : (0.7470632,1.847469)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 1.297266 
  Attachment exponent ± 2 s.d.: (0.7470632,1.847469)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 1.297266 
  Attachment exponent ± 2 s.d. : (0.7470632,1.847469)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 1.297266 
  Attachment exponent ± 2 s.d.: (0.7470632,1.847469)
  [1] "In plot.pa"
  [1] "In plot.pa"
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 1.158816 
  Attachment exponent ± 2 s.d. : (1.052532,1.2651)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 1.158816 
  Attachment exponent ± 2 s.d.: (1.052532,1.2651)
  [1] "In plot.pa"
  [1] "In plot.pa"
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 1.158816 
  Attachment exponent ± 2 s.d. : (1.052532,1.2651)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 1.158816 
  Attachment exponent ± 2 s.d.: (1.052532,1.2651)
  [1] "In plot.pa"
  [1] "In plot.pa"
  [1] "In plot.pa"
  [1] "In plot.pa"
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 0.9441216 
  Attachment exponent ± 2 s.d. : (0.6992396,1.189004)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 0.9441216 
  Attachment exponent ± 2 s.d.: (0.6992396,1.189004)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 0.9441216 
  Attachment exponent ± 2 s.d. : (0.6992396,1.189004)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 0.9441216 
  Attachment exponent ± 2 s.d.: (0.6992396,1.189004)
  [1] "In plot.pa"
  [1] "In plot.pa"
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 0.9884118 
  Attachment exponent ± 2 s.d. : (0.7635519,1.213272)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 0.9884118 
  Attachment exponent ± 2 s.d.: (0.7635519,1.213272)
  [1] "In plot.pa"
  [1] "In plot.pa"
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 0.9884118 
  Attachment exponent ± 2 s.d. : (0.7635519,1.213272)
  
  Containing the estimated attachment function. 
  Number of bins: 10 
  Estimated attachment exponent: 0.9884118 
  Attachment exponent ± 2 s.d.: (0.7635519,1.213272)
  [1] "In plot.pa"
  [1] "In plot.pa"
  Error in node_degree[, as.character(final_name)] : 
    subscript out of bounds
  Calls: get_statistics
  Execution halted