CRAN Package Check Results for Package glmdisc

Last updated on 2020-02-24 22:50:25 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4 38.02 130.50 168.52 ERROR
r-devel-linux-x86_64-debian-gcc 0.4 29.40 217.62 247.02 OK
r-devel-linux-x86_64-fedora-clang 0.4 401.46 OK
r-devel-linux-x86_64-fedora-gcc 0.4 395.44 OK
r-devel-windows-ix86+x86_64 0.3 93.00 375.00 468.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.4 90.00 6.00 96.00 ERROR
r-patched-linux-x86_64 0.4 34.38 282.58 316.96 OK
r-patched-solaris-x86 0.4 550.90 OK
r-release-linux-x86_64 0.4 34.23 271.48 305.71 OK
r-release-windows-ix86+x86_64 0.4 81.00 360.00 441.00 OK
r-release-osx-x86_64 0.4 OK
r-oldrel-windows-ix86+x86_64 0.3 66.00 381.00 447.00 OK
r-oldrel-osx-x86_64 0.4 OK

Additional issues

OpenBLAS

Check Details

Version: 0.4
Check: examples
Result: ERROR
    Running examples in 'glmdisc-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: cutpoints
    > ### Title: Obtaining the cutpoints and / or regroupments of a
    > ### discretization.
    > ### Aliases: cutpoints cutpoints,glmdisc-method
    >
    > ### ** Examples
    >
    > # Simulation of a discretized logit model
    > set.seed(1)
    > x = matrix(runif(300), nrow = 100, ncol = 3)
    > cuts = seq(0,1,length.out= 4)
    > xd = apply(x,2, function(col) as.numeric(cut(col,cuts)))
    > theta = t(matrix(c(0,0,0,2,2,2,-2,-2,-2),ncol=3,nrow=3))
    > log_odd = rowSums(t(sapply(seq_along(xd[,1]), function(row_id) sapply(seq_along(xd[row_id,]),
    + function(element) theta[xd[row_id,element],element]))))
    > y = rbinom(100,1,1/(1+exp(-log_odd)))
    >
    > sem_disc <- glmdisc(x,y,iter=50,m_start=4,test=FALSE,validation=FALSE,criterion="aic")
    Current interaction being tested is between variables and with a probability of acceptance of 8.60794057765678e+22
    Iteration 1 ended with a performance of aic = -Inf
    Current interaction being tested is between variables and with a probability of acceptance of 454070997000943
    Iteration 2 ended with a performance of aic = -146.627387885045
    Current interaction being tested is between variables and with a probability of acceptance of 200527188631.789
    Iteration 3 ended with a performance of aic = -134.688398422973
    Current interaction being tested is between variables and with a probability of acceptance of 3.93293408835398e-13
    Iteration 4 ended with a performance of aic = -141.01891639487
    Current interaction being tested is between variables and with a probability of acceptance of 1.21137373117457e-09
    Iteration 5 ended with a performance of aic = -144.090241747829
    Current interaction being tested is between variables and with a probability of acceptance of 2.90180781766322e-09
    Iteration 6 ended with a performance of aic = -147.736584880779
    Current interaction being tested is between variables and with a probability of acceptance of 4.2659860287826e-13
    Iteration 7 ended with a performance of aic = -145.968696629394
    Current interaction being tested is between variables and with a probability of acceptance of 5.99584277733933e-09
    Iteration 8 ended with a performance of aic = -145.405127716986
    Current interaction being tested is between variables and with a probability of acceptance of 0.0790818417476765
    Iteration 9 ended with a performance of aic = -135.657649584341
    Current interaction being tested is between variables and with a probability of acceptance of 9117240068090224640
    Iteration 10 ended with a performance of aic = -149.972648178222
    Current interaction being tested is between variables and with a probability of acceptance of 3.73507671985505e-14
    Iteration 11 ended with a performance of aic = -130.389877503508
    Current interaction being tested is between variables and with a probability of acceptance of 1.65731719479602e-13
    Iteration 12 ended with a performance of aic = -129.401929987841
    Current interaction being tested is between variables and with a probability of acceptance of 6.30055156960446e-14
    Iteration 13 ended with a performance of aic = -119.293975211212
    Current interaction being tested is between variables and with a probability of acceptance of 7.9081666882998e-18
    Iteration 14 ended with a performance of aic = -118.608978610338
    Current interaction being tested is between variables and with a probability of acceptance of 7.04538649435398e-16
    Iteration 15 ended with a performance of aic = -120.062204882864
    Current interaction being tested is between variables and with a probability of acceptance of 1.43329500119452e-16
    Iteration 16 ended with a performance of aic = -121.759994724648
    Current interaction being tested is between variables and with a probability of acceptance of 2.70097428039777e-14
    Iteration 17 ended with a performance of aic = -119.685767272139
    Current interaction being tested is between variables and with a probability of acceptance of 8.68267256259722e-25
    Iteration 18 ended with a performance of aic = -111.785429968211
    Current interaction being tested is between variables and with a probability of acceptance of 7.25454808066851e-13
    Iteration 19 ended with a performance of aic = -113.376192838099
    Current interaction being tested is between variables and with a probability of acceptance of 1.0730394880061e-13
    Iteration 20 ended with a performance of aic = -108.339396692983
    Current interaction being tested is between variables and with a probability of acceptance of 7.90819255707982e-18
    Iteration 21 ended with a performance of aic = -107.565040675666
    Current interaction being tested is between variables and with a probability of acceptance of 7.90818065354395e-20
    Iteration 22 ended with a performance of aic = -107.73996285071
    Current interaction being tested is between variables and with a probability of acceptance of 2.70552293369395e-18
    Iteration 23 ended with a performance of aic = -102.969451533429
    Current interaction being tested is between variables and with a probability of acceptance of 1.6636204049759e-18
    Iteration 24 ended with a performance of aic = -116.185628115003
    Current interaction being tested is between variables and with a probability of acceptance of 3.67899768447088e-19
    Iteration 25 ended with a performance of aic = -120.435363749134
    Current interaction being tested is between variables and with a probability of acceptance of 4.95146984247871e-18
    Iteration 26 ended with a performance of aic = -115.082401239818
    Current interaction being tested is between variables and with a probability of acceptance of 3.81812619596344e-18
    Iteration 27 ended with a performance of aic = -108.742704134686
    Current interaction being tested is between variables and with a probability of acceptance of 2.7612063994491e-20
    Iteration 28 ended with a performance of aic = -119.125300964301
    Current interaction being tested is between variables and with a probability of acceptance of 1.82341064204513e-18
    Error in `[<-`(`*tmp*`, , paste0("X", j, "_", lev[[j]][[1]][which(!lev[[j]][[1]] %in% :
     subscript out of bounds
    Calls: glmdisc
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4
Check: tests
Result: ERROR
     Running 'testthat.R' [10s/12s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(glmdisc)
     >
     > test_check("glmdisc")
     # weights: 9 (4 variable)
     initial value 109.861229
     iter 10 value 12.701739
     iter 20 value 5.686166
     iter 30 value 5.061799
     iter 40 value 4.906182
     iter 50 value 4.731498
     final value 4.731498
     stopped after 50 iterations
     # weights: 9 (4 variable)
     initial value 109.861229
     iter 10 value 12.701739
     iter 20 value 5.686166
     iter 30 value 5.061799
     iter 40 value 4.906182
     iter 50 value 4.731498
     final value 4.731498
     stopped after 50 iterations
     -- 1. Error: cutpoints works with continuous data (@test-method_cutpoints.R#10)
     subscript out of bounds
     Backtrace:
     1. glmdisc::glmdisc(...)
    
     -- 2. Error: predict works with continuous data (@test-method_predict.R#11) ---
     subscript out of bounds
     Backtrace:
     1. glmdisc::glmdisc(...)
    
     == testthat results ===========================================================
     [ OK: 29 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Error: cutpoints works with continuous data (@test-method_cutpoints.R#10)
     2. Error: predict works with continuous data (@test-method_predict.R#11)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building 'glmdisc.Rmd' using rmarkdown
    Iteration 1 ended with a performance of aic = -Inf
    Iteration 2 ended with a performance of aic = -132.319566892275
    Iteration 3 ended with a performance of aic = -130.180152782645
    Iteration 4 ended with a performance of aic = -115.68837776387
    Iteration 5 ended with a performance of aic = -114.146125057402
    Iteration 6 ended with a performance of aic = -130.12249749969
    Iteration 7 ended with a performance of aic = -134.44844857161
    Iteration 8 ended with a performance of aic = -132.970951482874
    Iteration 9 ended with a performance of aic = -140.148398778567
    Iteration 10 ended with a performance of aic = -131.565105126654
    Iteration 11 ended with a performance of aic = -137.341935141489
    Iteration 12 ended with a performance of aic = -140.627350243266
    Iteration 13 ended with a performance of aic = -141.142446994981
    Iteration 14 ended with a performance of aic = -138.161183735585
    Iteration 15 ended with a performance of aic = -125.861120207869
    Iteration 16 ended with a performance of aic = -126.453205334265
    Iteration 17 ended with a performance of aic = -138.604458598897
    Iteration 18 ended with a performance of aic = -132.772164255209
    Iteration 19 ended with a performance of aic = -133.659361270362
    Iteration 20 ended with a performance of aic = -132.805958290427
    Iteration 21 ended with a performance of aic = -136.399346195289
    Iteration 22 ended with a performance of aic = -137.915666888907
    Quitting from lines 298-301 (glmdisc.Rmd)
    Error: processing vignette 'glmdisc.Rmd' failed with diagnostics:
    subscript out of bounds
    --- failed re-building 'glmdisc.Rmd'
    
    SUMMARY: processing the following file failed:
     'glmdisc.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-devel-windows-ix86+x86_64-gcc8