CRAN Package Check Results for Package PAFit

Last updated on 2018-08-17 21:48:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0.4 28.11 205.30 233.41 OK
r-devel-linux-x86_64-debian-gcc 1.0.0.4 23.90 157.72 181.62 OK
r-devel-linux-x86_64-fedora-clang 1.0.0.4 262.12 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.0.4 252.97 NOTE
r-devel-windows-ix86+x86_64 1.0.0.4 76.00 400.00 476.00 OK
r-patched-linux-x86_64 1.0.0.4 31.62 185.80 217.42 OK
r-patched-solaris-x86 1.0.0.4 298.50 ERROR
r-release-linux-x86_64 1.0.0.4 28.59 187.94 216.53 OK
r-release-windows-ix86+x86_64 1.0.0.4 80.00 459.00 539.00 OK
r-release-osx-x86_64 1.0.0.4 OK
r-oldrel-windows-ix86+x86_64 1.0.0.4 49.00 392.00 441.00 OK
r-oldrel-osx-x86_64 1.0.0.4 OK

Check Details

Version: 1.0.0.4
Check: use of SHLIB_OPENMP_*FLAGS in Makefiles
Result: NOTE
     src/Makevars: incorrect macro SHLIB_OPENMP_CFLAGS included in PKG_CXXFLAGS
     src/Makevars.win: incorrect macro SHLIB_OPENMP_CFLAGS included in PKG_CXXFLAGS
    Use of these macros is discussed in sect 1.2.1.1 of ‘Writing R
    Extensions’. The macros for different languages may differ so the
    matching macro must be used in PKG_CXXFLAGS (etc) and match that used
    in PKG_LIBS (except for F77: see the manual).
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.0.4
Check: tests
Result: ERROR
     Running ‘loop_generate.R’
     Running ‘loop_joint_estimate.R’
     Running ‘loop_overall.R’
     Running ‘loop_test_Newman_Kong.R’
     Running ‘test_GenerateNet_final_padding.R’
     Running ‘test_GetStatistics_compress_2.R’
     Running ‘test_GetStatistics_undirected.R’
     Running ‘test_Newman_Kong.R’
     Running ‘test_from_igraph.R’
     Running ‘test_from_networkDynamic.R’
     Running ‘test_graph_from_file.R’
     Running ‘test_graph_to_file.R’
     Running ‘test_isolated_node.R’
     Running ‘test_isolated_node_2.R’
     Running ‘test_joint_estimate.R’
     Running ‘test_only_A.R’
     Running ‘test_only_F.R’
     Running ‘test_overall.R’ [7s/11s]
     Running ‘test_plot_PAFit_net.R’ [18s/26s]
     Running ‘test_test_linear_PA.R’ [14s/24s]
     Running ‘test_to_igraph.R’
     Running ‘test_to_networkDynamic.R’
     Running ‘test_true_f.R’
     Running ‘test_variance_s.R’
    Running the tests in ‘tests/test_isolated_node.R’ failed.
    Complete output:
     >
     > rm(list = ls())
     > library(PAFit)
     > set.seed(1)
     > prob_m <- "FALSE"
     > inc <- "FALSE"
     > log <- c("FALSE")
     > net <- generate_BA(N = 100, m = 5)
     >
     >
     > max_id <- max(net$graph)
     > random_time <- sample(1:max(net$graph[,3]),size = 500, replace = TRUE)
     > isolated_node <- (max_id + 1):(max_id+1 + 500 - 1)
     >
     > net_new <- net
     > net_new$graph <- rbind(net$graph,
     + cbind(isolated_node,rep(-1,500),random_time))
     >
     > stats_new <- get_statistics(net_new)
     > result_new <- only_A_estimate(net_new, stats_new)
     [1] -1237.675
     [1] -1227.858
     [1] -9.81687
     Error in PAFit(cv_data$stats, mode_f = "Log_linear", only_PA = TRUE, alpha_start = 0.5, :
     Warning: log likelihood decreased.
     Calls: only_A_estimate -> .OnlyA_CV -> PAFit
     Execution halted
    Running the tests in ‘tests/test_isolated_node_2.R’ failed.
    Complete output:
     >
     > rm(list = ls())
     > library(PAFit)
     > set.seed(1)
     > prob_m <- "FALSE"
     > inc <- "FALSE"
     > log <- c("FALSE")
     > net <- generate_BA(N = 100, m = 5)
     >
     >
     > max_id <- max(net$graph)
     > random_time <- sample(1:max(net$graph[,3]),size = 500, replace = TRUE)
     > isolated_node <- (max_id + 1):(max_id+1 + 500 - 1)
     >
     > net_new <- net
     > net_new$graph <- rbind(net$graph,
     + cbind(isolated_node,rep(-1,500),random_time))
     >
     > new_edge <- sample(1:max_id, size = 500, replace = TRUE)
     > T <- max(net$graph[,3])
     >
     > net_new$graph <- rbind(net_new$graph, cbind(isolated_node,new_edge, T + 1))
     >
     > stats_new <- get_statistics(net_new)
     > result_new <- only_A_estimate(net_new,stats_new)
     [1] -1719.018
     [1] -1702.452
     [1] -16.56608
     Error in PAFit(cv_data$stats, mode_f = "Log_linear", only_PA = TRUE, alpha_start = 0.5, :
     Warning: log likelihood decreased.
     Calls: only_A_estimate -> .OnlyA_CV -> PAFit
     Execution halted
    Running the tests in ‘tests/test_joint_estimate.R’ failed.
    Complete output:
     > #testing CV-related functions
     >
     > ## code here that contains the tests
     >
     >
     > rm(list = ls())
     > library(PAFit)
     > set.seed(1)
     > prob_m <- "FALSE"
     > inc <- "FALSE"
     > log <- c("FALSE")
     > i <- 1
     >
     > net <- generate_net(N = 100, m = 15,prob_m = prob_m,
     + increase = inc, log = log, multiple_node = 20, num_seed = 20,
     + mode = i, s = 10,alpha = 0.5)
     >
     > net_stats <- get_statistics(net,deg_threshold = 5,
     + binning = TRUE, g = 50)
     >
     > result <- joint_estimate(net, net_stats, stop_cond = 10^-5)
     [1] -1936.639
     [1] -1924.146
     [1] -12.49332
     Error in PAFit(cv_data$stats, mode_f = "Log_linear", s = rate_PAFit[j], :
     Warning: log likelihood decreased.
     Calls: joint_estimate ... .performCV_old_new -> .performCV_core_new_new -> .one_cycle -> PAFit
     Execution halted
    Running the tests in ‘tests/test_only_A.R’ failed.
    Complete output:
     > #testing CV-related functions
     >
     > ## code here that contains the tests
     >
     >
     > rm(list = ls())
     > library(PAFit)
     > set.seed(1)
     > prob_m <- "FALSE"
     > inc <- "FALSE"
     > log <- c("FALSE")
     > i <- 1
     >
     > net <- generate_net(N = 1000, m = 5,prob_m = prob_m,
     + increase = inc, log = log, multiple_node = 100, num_seed = 100,
     + mode = i, s = 0,alpha = 1)
     >
     > net_stats <- get_statistics(net,deg_threshold = 1,
     + binning = TRUE, g = 50)
     >
     > result <- only_A_estimate(net, net_stats)
     [1] -21953.89
     [1] -21928.29
     [1] -25.59378
     Error in PAFit(cv_data$stats, mode_f = "Log_linear", only_PA = TRUE, alpha_start = 0.5, :
     Warning: log likelihood decreased.
     Calls: only_A_estimate -> .OnlyA_CV -> PAFit
     Execution halted
Flavor: r-patched-solaris-x86