CRAN Package Check Results for Package changepointsHD

Last updated on 2019-09-08 14:47:16 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.2 32.14 21.36 53.50 OK
r-devel-linux-x86_64-fedora-clang 0.3.2 98.35 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.2 95.34 OK
r-devel-windows-ix86+x86_64 0.3.1 101.00 77.00 178.00 OK
r-patched-linux-x86_64 0.3.1 38.00 26.28 64.28 OK
r-patched-solaris-x86 0.3.2 88.90 OK
r-release-linux-x86_64 0.3.2 35.19 26.46 61.65 OK
r-release-windows-ix86+x86_64 0.3.2 80.00 63.00 143.00 OK
r-release-osx-x86_64 0.3.2 ERROR
r-oldrel-windows-ix86+x86_64 0.3.2 90.00 78.00 168.00 ERROR
r-oldrel-osx-x86_64 0.3.2 ERROR

Check Details

Version: 0.3.1
Check: tests
Result: ERROR
     Running 'test_changepoints.R' [1s/1s]
    Running the tests in 'tests/test_changepoints.R' failed.
    Complete output:
     > library(changepointsHD)
     >
     > set.seed(334)
     >
     > scp_data = read.table(system.file("extdata", "scp.txt", package="changepointsHD"))
     > scp_data = as.matrix(scp_data)
     >
     > # prox gradient black-box method
     > cov_est = cov(scp_data)
     > init = solve(cov_est)
     > res_map = prox_gradient_mapping(scp_data, init, 0.1, 0.99, 0.1, 100, 1e-20)
     >
     > # prox gradient black-box ll
     > res_ll = prox_gradient_ll(scp_data, res_map, 0.1)
     >
     > prox_gradient_params=list()
     > prox_gradient_params$update_w = 0.1
     > prox_gradient_params$update_change = 0.99
     > prox_gradient_params$regularizer = 0.1
     > prox_gradient_params$max_iter = 1
     > prox_gradient_params$tol = 1e-5
     >
     > prox_gradient_ll_params=list()
     > prox_gradient_ll_params$regularizer = 0.1
     >
     > simulated_annealing_params = list()
     > simulated_annealing_params$buff=10
     >
     > # test simulated annealing
     > changepoints_mod = changepointsMod(bbmod=prox_gradient_mapping,
     + log_likelihood=prox_gradient_ll,
     + bbmod_params=prox_gradient_params,
     + ll_params=prox_gradient_ll_params,
     + part_values=list(init, init),
     + data=list(scp_data))
     > changepoints_mod = simulated_annealing(changepoints_mod, buff=10)
     [1] 14 10
     [1] "UPDATE1"
     [1] 86 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 60 10
     [1] "UPDATE1"
     [1] 40 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 23 10
     [1] "UPDATE1"
     [1] 77 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 22 10
     [1] "UPDATE1"
     [1] 78 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 17 10
     [1] "UPDATE1"
     [1] 83 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 16 10
     [1] "UPDATE1"
     [1] 84 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 18 10
     [1] "UPDATE1"
     [1] 82 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     > # two comparisons are done here because of differences in the R and R-devel samples
     > stopifnot((changepoints_mod@changepoints != 18) | (changepoints_mod@changepoints != 56))
     >
     > # test brute force
     > changepoints_mod@part_values = list(init, init)
     > changepoints_mod = brute_force(changepoints_mod, buff=10)
     [1] 10 10
     [1] 90 10
     [1] 11 10
     [1] 89 10
     [1] 12 10
     [1] 88 10
     [1] 13 10
     [1] 87 10
     [1] 14 10
     [1] 86 10
     [1] 15 10
     [1] 85 10
     [1] 16 10
     [1] 84 10
     [1] 17 10
     [1] 83 10
     [1] 18 10
     [1] 82 10
     [1] 19 10
     [1] 81 10
     [1] 20 10
     [1] 80 10
     [1] 21 10
     [1] 79 10
     [1] 22 10
     [1] 78 10
     [1] 23 10
     [1] 77 10
     [1] 24 10
     [1] 76 10
     [1] 25 10
     [1] 75 10
     [1] 26 10
     [1] 74 10
     [1] 27 10
     [1] 73 10
     [1] 28 10
     [1] 72 10
     [1] 29 10
     [1] 71 10
     [1] 30 10
     [1] 70 10
     [1] 31 10
     [1] 69 10
     [1] 32 10
     [1] 68 10
     [1] 33 10
     [1] 67 10
     [1] 34 10
     [1] 66 10
     [1] 35 10
     [1] 65 10
     [1] 36 10
     [1] 64 10
     [1] 37 10
     [1] 63 10
     [1] 38 10
     [1] 62 10
     [1] 39 10
     [1] 61 10
     [1] 40 10
     [1] 60 10
     [1] 41 10
     [1] 59 10
     [1] 42 10
     [1] 58 10
     [1] 43 10
     [1] 57 10
     [1] 44 10
     [1] 56 10
     [1] 45 10
     [1] 55 10
     [1] 46 10
     [1] 54 10
     [1] 47 10
     [1] 53 10
     [1] 48 10
     [1] 52 10
     [1] 49 10
     [1] 51 10
     [1] 50 10
     [1] 50 10
     [1] 51 10
     [1] 49 10
     [1] 52 10
     [1] 48 10
     [1] 53 10
     [1] 47 10
     [1] 54 10
     [1] 46 10
     [1] 55 10
     [1] 45 10
     [1] 56 10
     [1] 44 10
     [1] 57 10
     [1] 43 10
     [1] 58 10
     [1] 42 10
     [1] 59 10
     [1] 41 10
     [1] 60 10
     [1] 40 10
     [1] 61 10
     [1] 39 10
     [1] 62 10
     [1] 38 10
     [1] 63 10
     [1] 37 10
     [1] 64 10
     [1] 36 10
     [1] 65 10
     [1] 35 10
     [1] 66 10
     [1] 34 10
     [1] 67 10
     [1] 33 10
     [1] 68 10
     [1] 32 10
     [1] 69 10
     [1] 31 10
     [1] 70 10
     [1] 30 10
     [1] 71 10
     [1] 29 10
     [1] 72 10
     [1] 28 10
     [1] 73 10
     [1] 27 10
     [1] 74 10
     [1] 26 10
     [1] 75 10
     [1] 25 10
     [1] 76 10
     [1] 24 10
     [1] 77 10
     [1] 23 10
     [1] 78 10
     [1] 22 10
     [1] 79 10
     [1] 21 10
     [1] 80 10
     [1] 20 10
     [1] 81 10
     [1] 19 10
     [1] 82 10
     [1] 18 10
     [1] 83 10
     [1] 17 10
     [1] 84 10
     [1] 16 10
     [1] 85 10
     [1] 15 10
     [1] 86 10
     [1] 14 10
     [1] 87 10
     [1] 13 10
     [1] 88 10
     [1] 12 10
     [1] 89 10
     [1] 11 10
     [1] 90 10
     [1] 10 10
     [1] 77 10
     [1] 23 10
     > stopifnot(changepoints_mod@changepoints == 77)
     >
     > # test rank one
     > res_ro = rank_one(scp_data, init, update_w=0.1, regularizer=0.1)
     > stopifnot(res_ro$tau == 56)
     Error: res_ro$tau == 56 is not TRUE
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘test_changepoints.R’
    Running the tests in ‘tests/test_changepoints.R’ failed.
    Complete output:
     > library(changepointsHD)
     >
     > RNGkind(sample.kind = "Rounding")
     Warning message:
     In RNGkind(sample.kind = "Rounding") : non-uniform 'Rounding' sampler used
     > set.seed(334)
     >
     > scp_data = read.table(system.file("extdata", "scp.txt", package="changepointsHD"))
     > scp_data = as.matrix(scp_data)
     >
     > # prox gradient black-box method
     > cov_est = cov(scp_data)
     > init = solve(cov_est)
     > res_map = prox_gradient_mapping(scp_data, init, 0.1, 0.99, 0.1, 100, 1e-20)
     >
     > # prox gradient black-box ll
     > res_ll = prox_gradient_ll(scp_data, res_map, 0.1)
     >
     > prox_gradient_params=list()
     > prox_gradient_params$update_w = 0.1
     > prox_gradient_params$update_change = 0.99
     > prox_gradient_params$regularizer = 0.1
     > prox_gradient_params$max_iter = 1
     > prox_gradient_params$tol = 1e-5
     >
     > prox_gradient_ll_params=list()
     > prox_gradient_ll_params$regularizer = 0.1
     >
     > simulated_annealing_params = list()
     > simulated_annealing_params$buff=10
     >
     > # test simulated annealing
     > changepoints_mod = changepointsMod(bbmod=prox_gradient_mapping,
     + log_likelihood=prox_gradient_ll,
     + bbmod_params=prox_gradient_params,
     + ll_params=prox_gradient_ll_params,
     + part_values=list(init, init),
     + data=list(scp_data))
     > changepoints_mod = simulated_annealing(changepoints_mod, buff=10)
     [1] 89 10
     [1] "UPDATE1"
     [1] 11 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 17 10
     [1] "UPDATE1"
     [1] 83 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 61 10
     [1] "UPDATE1"
     [1] 39 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 75 10
     [1] "UPDATE1"
     [1] 25 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 13 10
     [1] "UPDATE1"
     [1] 87 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 55 10
     [1] "UPDATE1"
     [1] 45 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 54 10
     [1] "UPDATE1"
     [1] 46 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 16 10
     [1] "UPDATE1"
     [1] 84 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 17 10
     [1] "UPDATE1"
     [1] 83 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 59 10
     [1] "UPDATE1"
     [1] 41 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 50 10
     [1] "UPDATE1"
     [1] 50 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 55 10
     [1] "UPDATE1"
     [1] 45 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     [1] 56 10
     [1] "UPDATE1"
     [1] 44 10
     [1] "UPDATE2"
     [1] "LL1"
     [1] "LL2"
     > # two comparisons are done here because of differences in the R and R-devel samples
     > stopifnot((changepoints_mod@changepoints != 18) | (changepoints_mod@changepoints != 56))
     >
     > # test brute force
     > changepoints_mod@part_values = list(init, init)
     > changepoints_mod = brute_force(changepoints_mod, buff=10)
     [1] 10 10
     [1] 90 10
     [1] 11 10
     [1] 89 10
     [1] 12 10
     [1] 88 10
     [1] 13 10
     [1] 87 10
     [1] 14 10
     [1] 86 10
     [1] 15 10
     [1] 85 10
     [1] 16 10
     [1] 84 10
     [1] 17 10
     [1] 83 10
     [1] 18 10
     [1] 82 10
     [1] 19 10
     [1] 81 10
     [1] 20 10
     [1] 80 10
     [1] 21 10
     [1] 79 10
     [1] 22 10
     [1] 78 10
     [1] 23 10
     [1] 77 10
     [1] 24 10
     [1] 76 10
     [1] 25 10
     [1] 75 10
     [1] 26 10
     [1] 74 10
     [1] 27 10
     [1] 73 10
     [1] 28 10
     [1] 72 10
     [1] 29 10
     [1] 71 10
     [1] 30 10
     [1] 70 10
     [1] 31 10
     [1] 69 10
     [1] 32 10
     [1] 68 10
     [1] 33 10
     [1] 67 10
     [1] 34 10
     [1] 66 10
     [1] 35 10
     [1] 65 10
     [1] 36 10
     [1] 64 10
     [1] 37 10
     [1] 63 10
     [1] 38 10
     [1] 62 10
     [1] 39 10
     [1] 61 10
     [1] 40 10
     [1] 60 10
     [1] 41 10
     [1] 59 10
     [1] 42 10
     [1] 58 10
     [1] 43 10
     [1] 57 10
     [1] 44 10
     [1] 56 10
     [1] 45 10
     [1] 55 10
     [1] 46 10
     [1] 54 10
     [1] 47 10
     [1] 53 10
     [1] 48 10
     [1] 52 10
     [1] 49 10
     [1] 51 10
     [1] 50 10
     [1] 50 10
     [1] 51 10
     [1] 49 10
     [1] 52 10
     [1] 48 10
     [1] 53 10
     [1] 47 10
     [1] 54 10
     [1] 46 10
     [1] 55 10
     [1] 45 10
     [1] 56 10
     [1] 44 10
     [1] 57 10
     [1] 43 10
     [1] 58 10
     [1] 42 10
     [1] 59 10
     [1] 41 10
     [1] 60 10
     [1] 40 10
     [1] 61 10
     [1] 39 10
     [1] 62 10
     [1] 38 10
     [1] 63 10
     [1] 37 10
     [1] 64 10
     [1] 36 10
     [1] 65 10
     [1] 35 10
     [1] 66 10
     [1] 34 10
     [1] 67 10
     [1] 33 10
     [1] 68 10
     [1] 32 10
     [1] 69 10
     [1] 31 10
     [1] 70 10
     [1] 30 10
     [1] 71 10
     [1] 29 10
     [1] 72 10
     [1] 28 10
     [1] 73 10
     [1] 27 10
     [1] 74 10
     [1] 26 10
     [1] 75 10
     [1] 25 10
     [1] 76 10
     [1] 24 10
     [1] 77 10
     [1] 23 10
     [1] 78 10
     [1] 22 10
     [1] 79 10
     [1] 21 10
     [1] 80 10
     [1] 20 10
     [1] 81 10
     [1] 19 10
     [1] 82 10
     [1] 18 10
     [1] 83 10
     [1] 17 10
     [1] 84 10
     [1] 16 10
     [1] 85 10
     [1] 15 10
     [1] 86 10
     [1] 14 10
     [1] 87 10
     [1] 13 10
     [1] 88 10
     [1] 12 10
     [1] 89 10
     [1] 11 10
     [1] 90 10
     [1] 10 10
     [1] 77 10
     [1] 23 10
     > stopifnot(changepoints_mod@changepoints == 77)
     >
     > # test rank one
     > res_ro = rank_one(scp_data, init, update_w=0.1, regularizer=0.1)
     > stopifnot(res_ro$tau == 56)
     Error: res_ro$tau == 56 is not TRUE
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘test_changepoints.R’ [1s/1s]
    Running the tests in ‘tests/test_changepoints.R’ failed.
    Last 13 lines of output:
     [1] 88 10
     [1] 12 10
     [1] 89 10
     [1] 11 10
     [1] 90 10
     [1] 10 10
     [1] 77 10
     [1] 23 10
     > stopifnot(changepoints_mod@changepoints == 77)
     >
     > # test rank one
     > res_ro = rank_one(scp_data, init, update_w=0.1, regularizer=0.1)
     > stopifnot(res_ro$tau == 56)
     Error: res_ro$tau == 56 is not TRUE
     Execution halted
Flavor: r-release-osx-x86_64

Version: 0.3.2
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'test_changepoints.R' [1s]
    Running the tests in 'tests/test_changepoints.R' failed.
    Complete output:
     > library(changepointsHD)
     >
     > RNGkind(sample.kind = "Rounding")
     Error in RNGkind(sample.kind = "Rounding") :
     unused argument (sample.kind = "Rounding")
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.3.2
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'test_changepoints.R' [1s]
    Running the tests in 'tests/test_changepoints.R' failed.
    Complete output:
     > library(changepointsHD)
     >
     > RNGkind(sample.kind = "Rounding")
     Error in RNGkind(sample.kind = "Rounding") :
     unused argument (sample.kind = "Rounding")
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘test_changepoints.R’ [0s/0s]
    Running the tests in ‘tests/test_changepoints.R’ failed.
    Complete output:
     > library(changepointsHD)
     >
     > RNGkind(sample.kind = "Rounding")
     Error in RNGkind(sample.kind = "Rounding") :
     unused argument (sample.kind = "Rounding")
     Execution halted
Flavor: r-oldrel-osx-x86_64