CRAN Package Check Results for Maintainer ‘Rafael Santos <rafael.jpsantos at outlook.com>’

Last updated on 2024-11-25 09:50:33 CET.

Package ERROR OK
bagged.outliertrees 1 12

Package bagged.outliertrees

Current CRAN status: ERROR: 1, OK: 12

Version: 1.0.0
Check: examples
Result: ERROR Running examples in ‘bagged.outliertrees-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: predict.bagged.outliertrees > ### Title: Predict method for Bagged OutlierTrees > ### Aliases: predict.bagged.outliertrees > > ### ** Examples > > library(bagged.outliertrees) > > ### example dataset with interesting outliers > data(hypothyroid) > > ### fit a Bagged OutlierTrees model > model <- bagged.outliertrees(hypothyroid, + ntrees = 10, + subsampling_rate = 0.5, + z_outlier = 6, + nthreads = 1 + ) | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%> > ### use the fitted model to find outliers in the training dataset > outliers <- predict(model, + newdata = hypothyroid, + min_outlier_score = 0.5, + nthreads = 1 + ) Error in serverSocket(port = port) : creation of server socket failed: port 11149 cannot be opened Calls: predict -> predict.bagged.outliertrees Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed bagged.outliertrees 0.571 0.075 8.695 Flavor: r-devel-linux-x86_64-debian-clang