CRAN Package Check Results for Package LOGIT

Last updated on 2018-05-10 15:49:25 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3 10.37 111.81 122.18 ERROR
r-devel-linux-x86_64-debian-gcc 1.3 8.26 94.08 102.34 ERROR
r-devel-linux-x86_64-fedora-clang 1.3 160.72 ERROR
r-devel-linux-x86_64-fedora-gcc 1.3 181.77 ERROR
r-devel-windows-ix86+x86_64 1.3 19.00 125.00 144.00 ERROR
r-patched-linux-x86_64 1.3 9.36 98.96 108.32 ERROR
r-patched-solaris-x86 1.3 201.20 ERROR
r-release-linux-x86_64 1.3 9.11 98.75 107.86 ERROR
r-release-windows-ix86+x86_64 1.3 19.00 125.00 144.00 ERROR
r-release-osx-x86_64 1.3 ERROR
r-oldrel-windows-ix86+x86_64 1.3 23.00 193.00 216.00 ERROR
r-oldrel-osx-x86_64 1.3 OK

Check Details

Version: 1.3
Check: examples
Result: ERROR
    Running examples in ‘LOGIT-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: confusion_stat
    > ### Title: Display confusion or classification matrix following logistic
    > ### regression using glm with binomial family.
    > ### Aliases: confusion_stat
    > ### Keywords: models
    >
    > ### ** Examples
    >
    > library(MASS)
    > library(LOGIT)
    > data(R84)
    > R84$cage <- R84$age - mean(R84$age)
    > R84$cdoc <- R84$docvis - mean(R84$docvis)
    > mylogit <- glm(outwork ~ cdoc + female + kids + cage + factor(edlevel),
    + family=binomial, data=R84)
    > mu <- predict(mylogit, type="response")
    > cutpoint<-ROCtest(mylogit, fold=10, type="Sensitivity")$cut
    > mu[mu>=cutpoint]<-1
    > mu[mu<cutpoint]<-0
    > confusion_stat(mu, R84$outwork)
    Error: `data` and `reference` should be factors with the same levels.
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.3
Check: examples
Result: ERROR
    Running examples in ‘LOGIT-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: confusion_stat
    > ### Title: Display confusion or classification matrix following logistic
    > ### regression using glm with binomial family.
    > ### Aliases: confusion_stat
    > ### Keywords: models
    >
    > ### ** Examples
    >
    > library(MASS)
    > library(LOGIT)
    > data(R84)
    > R84$cage <- R84$age - mean(R84$age)
    > R84$cdoc <- R84$docvis - mean(R84$docvis)
    > mylogit <- glm(outwork ~ cdoc + female + kids + cage + factor(edlevel),
    + family=binomial, data=R84)
    > mu <- predict(mylogit, type="response")
    > cutpoint<-ROCtest(mylogit, fold=10, type="Sensitivity")$cut
    > mu[mu>=cutpoint]<-1
    > mu[mu<cutpoint]<-0
    > confusion_stat(mu, R84$outwork)
    Error: `data` and `reference` should be factors with the same levels.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64