CRAN Package Check Results for Maintainer ‘nl zhang <setseed2016 at gmail.com>’

Last updated on 2025-12-07 07:50:43 CET.

Package ERROR NOTE OK
CatEncoders 7 6
dblr 5 3 5

Package CatEncoders

Current CRAN status: NOTE: 7, OK: 6

Version: 0.1.1
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘nl zhang <setseed2016@gmail.com>’ No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: person(given = "nl", family = "zhang", role = c("aut", "cre"), email = "setseed2016@gmail.com") as necessary. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: dependencies in R code
Result: NOTE Namespace in Imports field not imported from: ‘Matrix’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.1
Check: LazyData
Result: NOTE 'LazyData' is specified without a 'data' directory Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Package dblr

Current CRAN status: ERROR: 5, NOTE: 3, OK: 5

Version: 0.1.0
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Nailong Zhang <setseed2016@gmail.com>’ No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: person(given = "Nailong", family = "Zhang", role = c("aut", "cre"), email = "setseed2016@gmail.com") as necessary. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘dblr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: dblr_train > ### Title: Discrete Boosting Logistic Regression Training > ### Aliases: dblr_train > > ### ** Examples > > # use iris data for example > dat <- iris > # create two categorical variables > dat$Petal.Width <- as.factor((iris$Petal.Width<=0.2)*1+(iris$Petal.Width>1.0)*2) > dat$Sepal.Length <- (iris$Sepal.Length<=3.0)*2+(iris$Sepal.Length>6.0)*1.25 > # create the response variable > dat$Species <- as.numeric(dat$Species=='versicolor') > set.seed(123) > # random sampling > index <- sample(1:150,100,replace = FALSE) > # train the dblr model using the training data > dblr_fit <- dblr_train(train_x=dat[index,c(1:4)], + train_y=dat[index,5],category_cols = c('Petal.Width','Sepal.Length'), + metric = 'logloss',subsample = 0.5,eta = 0.05,colsample = 1.0, + lambda = 1.0,cv_early_stops = 10,verbose=FALSE) Warning in throw_err_or_depr_msg("Passed unrecognized parameters: ", paste(head(names_unrecognized), : Passed unrecognized parameters: metrics. This warning will become an error in a future version. Error in begin_iteration:end_iteration : argument of length 0 Calls: dblr_train -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘dblr-Ex.R’ failed The error most likely occurred in: > ### Name: dblr_train > ### Title: Discrete Boosting Logistic Regression Training > ### Aliases: dblr_train > > ### ** Examples > > # use iris data for example > dat <- iris > # create two categorical variables > dat$Petal.Width <- as.factor((iris$Petal.Width<=0.2)*1+(iris$Petal.Width>1.0)*2) > dat$Sepal.Length <- (iris$Sepal.Length<=3.0)*2+(iris$Sepal.Length>6.0)*1.25 > # create the response variable > dat$Species <- as.numeric(dat$Species=='versicolor') > set.seed(123) > # random sampling > index <- sample(1:150,100,replace = FALSE) > # train the dblr model using the training data > dblr_fit <- dblr_train(train_x=dat[index,c(1:4)], + train_y=dat[index,5],category_cols = c('Petal.Width','Sepal.Length'), + metric = 'logloss',subsample = 0.5,eta = 0.05,colsample = 1.0, + lambda = 1.0,cv_early_stops = 10,verbose=FALSE) Warning in throw_err_or_depr_msg("Passed unrecognized parameters: ", paste(head(names_unrecognized), : Passed unrecognized parameters: metrics. This warning will become an error in a future version. Error in begin_iteration:end_iteration : argument of length 0 Calls: dblr_train -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-windows-x86_64

Version: 0.1.0
Check: LazyData
Result: NOTE 'LazyData' is specified without a 'data' directory Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64