CRAN Package Check Results for Package ssc

Last updated on 2024-06-13 11:48:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1-0 4.50 104.95 109.45 OK
r-devel-linux-x86_64-debian-gcc 2.1-0 3.43 41.64 45.07 ERROR
r-devel-linux-x86_64-fedora-clang 2.1-0 132.29 OK
r-devel-linux-x86_64-fedora-gcc 2.1-0 143.19 OK
r-devel-windows-x86_64 2.1-0 4.00 129.00 133.00 OK
r-patched-linux-x86_64 2.1-0 5.12 98.23 103.35 OK
r-release-linux-x86_64 2.1-0 3.47 97.31 100.78 OK
r-release-macos-arm64 2.1-0 43.00 OK
r-release-macos-x86_64 2.1-0 77.00 OK
r-release-windows-x86_64 2.1-0 4.00 129.00 133.00 OK
r-oldrel-macos-arm64 2.1-0 48.00 OK
r-oldrel-macos-x86_64 2.1-0 79.00 OK
r-oldrel-windows-x86_64 2.1-0 5.00 137.00 142.00 OK

Check Details

Version: 2.1-0
Check: package dependencies
Result: NOTE Packages suggested but not available for checking: 'caret', 'C50', 'testthat' Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.1-0
Check: examples
Result: ERROR Running examples in ‘ssc-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: coBC > ### Title: CoBC method > ### Aliases: coBC > > ### ** Examples > > > library(ssc) > > ## Load Wine data set > data(wine) > > cls <- which(colnames(wine) == "Wine") > x <- wine[, -cls] # instances without classes > y <- wine[, cls] # the classes > x <- scale(x) # scale the attributes > > ## Prepare data > set.seed(20) > # Use 50% of instances for training > tra.idx <- sample(x = length(y), size = ceiling(length(y) * 0.5)) > xtrain <- x[tra.idx,] # training instances > ytrain <- y[tra.idx] # classes of training instances > # Use 70% of train instances as unlabeled set > tra.na.idx <- sample(x = length(tra.idx), size = ceiling(length(tra.idx) * 0.7)) > ytrain[tra.na.idx] <- NA # remove class information of unlabeled instances > > # Use the other 50% of instances for inductive testing > tst.idx <- setdiff(1:length(y), tra.idx) > xitest <- x[tst.idx,] # testing instances > yitest <- y[tst.idx] # classes of testing instances > > ## Example: Training from a set of instances with 1-NN as base classifier. > set.seed(1) > m1 <- coBC(x = xtrain, y = ytrain, + learner = caret::knn3, + learner.pars = list(k = 1), + pred = "predict") Error in loadNamespace(x) : there is no package called ‘caret’ Calls: coBC ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.1-0
Check: tests
Result: ERROR Running ‘testthat.R’ [0s/1s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) Error in library(testthat) : there is no package called 'testthat' Execution halted Flavor: r-devel-linux-x86_64-debian-gcc