CRAN Package Check Results for Package scorecardModelUtils

Last updated on 2019-03-23 17:48:20 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.0.9 9.27 86.83 96.10 ERROR
r-devel-linux-x86_64-debian-gcc 0.0.0.9 9.20 70.00 79.20 ERROR
r-devel-linux-x86_64-fedora-clang 0.0.0.9 121.07 ERROR
r-devel-linux-x86_64-fedora-gcc 0.0.0.9 115.33 ERROR
r-devel-windows-ix86+x86_64 0.0.0.9 40.00 134.00 174.00 ERROR
r-patched-linux-x86_64 0.0.0.9 7.09 83.81 90.90 OK
r-patched-solaris-x86 0.0.0.9 175.90 OK
r-release-linux-x86_64 0.0.0.9 0.33 2.15 2.48 ERROR
r-release-windows-ix86+x86_64 0.0.0.9 17.00 102.00 119.00 OK
r-release-osx-x86_64 0.0.0.9 OK
r-oldrel-windows-ix86+x86_64 0.0.0.9 20.00 138.00 158.00 OK
r-oldrel-osx-x86_64 0.0.0.9 OK

Check Details

Version: 0.0.0.9
Check: examples
Result: ERROR
    Running examples in 'scorecardModelUtils-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: scalling
    > ### Title: Converting coefficients of logistic regression into scores for
    > ### scorecard building
    > ### Aliases: scalling
    >
    > ### ** Examples
    >
    > data <- iris
    > set.seed(11)
    > data$Y <- sample(0:1,size=nrow(data),replace=TRUE)
    > x <- c("Sepal.Length","Sepal.Width","Petal.Length","Petal.Width")
    > iv_table_list <- iv_table(base = data,target = "Y",num_var_name = x,cat_var_name = "Species")
    > num_cat <- num_to_cat(base = data,num_woe_table = iv_table_list$num_woe_table)
    > log_model <- glm(Y ~ ., data = num_cat, family = "binomial")
    Error in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) :
     contrasts can be applied only to factors with 2 or more levels
    Calls: glm ... model.matrix -> model.matrix.default -> contrasts<-
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.0.0.9
Check: examples
Result: ERROR
    Running examples in ‘scorecardModelUtils-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: scalling
    > ### Title: Converting coefficients of logistic regression into scores for
    > ### scorecard building
    > ### Aliases: scalling
    >
    > ### ** Examples
    >
    > data <- iris
    > set.seed(11)
    > data$Y <- sample(0:1,size=nrow(data),replace=TRUE)
    > x <- c("Sepal.Length","Sepal.Width","Petal.Length","Petal.Width")
    > iv_table_list <- iv_table(base = data,target = "Y",num_var_name = x,cat_var_name = "Species")
    > num_cat <- num_to_cat(base = data,num_woe_table = iv_table_list$num_woe_table)
    > log_model <- glm(Y ~ ., data = num_cat, family = "binomial")
    Error in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) :
     contrasts can be applied only to factors with 2 or more levels
    Calls: glm ... model.matrix -> model.matrix.default -> contrasts<-
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64

Version: 0.0.0.9
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-release-linux-x86_64