CRAN Package Check Results for Maintainer ‘Yanchao Liu <yanchaoliu at wayne.edu>’

Last updated on 2025-03-11 14:56:01 CET.

Package ERROR NOTE OK
brif 1 14
bsnsing 12 3

Package brif

Current CRAN status: ERROR: 1, OK: 14

Version: 1.4.1
Check: examples
Result: ERROR Running examples in ‘brif-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: brif > ### Title: Build a model (and make predictions) > ### Aliases: brif > > ### ** Examples > > trainset <- sample(1:nrow(iris), 0.5*nrow(iris)) > validset <- setdiff(1:nrow(iris), trainset) > > # Train and predict at once > pred_scores <- brif(Species~., data = iris, subset = trainset, + newdata = iris[validset, 1:4], type = 'score') > pred_labels <- brif(Species~., data = iris, subset = trainset, + newdata = iris[validset, 1:4], type = 'class') > > # Confusion matrix > table(pred_labels, iris[validset, 5]) pred_labels setosa versicolor virginica setosa 22 4 0 versicolor 0 26 2 virginica 0 0 21 > > # Accuracy > sum(pred_labels == iris[validset, 5])/length(validset) [1] 0.92 > > # Train using the formula format > bf <- brif(Species~., data = iris, subset = trainset) > > # Or equivalently, train using the data.frame format > bf <- brif(iris[trainset, c(5,1:4)]) > > # Make a prediction > pred_scores <- predict(bf, iris[validset, 1:4], type = 'score') > pred_labels <- predict(bf, iris[validset, 1:4], type = 'class') > > # Regression > bf <- brif(mpg ~., data = mtcars) > pred <- predict(bf, mtcars[2:11]) *** caught segfault *** address 0x8, cause 'memory not mapped' Traceback: 1: rfpredict(object, newdata, as.integer(vote_method), as.integer(nthreads)) 2: predict.brif(bf, mtcars[2:11]) 3: predict(bf, mtcars[2:11]) An irrecoverable exception occurred. R is aborting now ... Segmentation fault Flavor: r-devel-linux-x86_64-debian-clang

Package bsnsing

Current CRAN status: NOTE: 12, OK: 3

Version: 1.0.1
Check: Rd files
Result: NOTE checkRd: (-1) bscontrol.Rd:39: Lost braces; missing escapes or markup? 39 | \item{opt.solver}{a character string in the set {'enum', 'enum_c', 'gurobi', 'cplex', 'lpSolve', 'greedy'} indicating the optimization solver to be used in the program. The choice of 'cplex' requires the package \code{cplexAPI}, 'gurobi' requires the package \code{gurobi}, and 'lpSolve' requires the package \code{lpSolve}. These solver options are only available in the full version at \url{https://github.com/profyliu/bsnsing/}. The default (and the best) is 'enum_c'.} | ^ checkRd: (-1) bscontrol.Rd:45: Lost braces; missing escapes or markup? 45 | \item{opt.model}{a character string in the set {'gini','error'} indicating the optimization model to solve in the program. The default is 'gini'. The 'error' option is not available in the current version.} | ^ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-arm64, r-devel-macos-x86_64, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.