Package check result: ERROR Check: CRAN incoming feasibility, Result: NOTE Maintainer: ‘Wenjie Wang ’ Found the following (possibly) invalid URLs: URL: https://www.gnu.org/licenses/ From: README.md Status: Error Message: Timeout was reached [www.gnu.org]: Connection timed out after 60002 milliseconds Check: examples, Result: ERROR Running examples in ‘abclass-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: supclass > ### Title: Multi-Category Classifiers with Sup-Norm Regularization > ### Aliases: supclass supclass.control > > ### ** Examples > > library(abclass) > set.seed(123) > > ## toy examples for demonstration purpose > ## reference: example 1 in Zhang and Liu (2014) > ntrain <- 100 # size of training set > ntest <- 1000 # size of testing set > p0 <- 2 # number of actual predictors > p1 <- 2 # number of random predictors > k <- 3 # number of categories > > n <- ntrain + ntest; p <- p0 + p1 > train_idx <- seq_len(ntrain) > y <- sample(k, size = n, replace = TRUE) # response > mu <- matrix(rnorm(p0 * k), nrow = k, ncol = p0) # mean vector > ## normalize the mean vector so that they are distributed on the unit circle > mu <- mu / apply(mu, 1, function(a) sqrt(sum(a ^ 2))) > x0 <- t(sapply(y, function(i) rnorm(p0, mean = mu[i, ], sd = 0.25))) > x1 <- matrix(rnorm(p1 * n, sd = 0.3), nrow = n, ncol = p1) > x <- cbind(x0, x1) > train_x <- x[train_idx, ] > test_x <- x[- train_idx, ] > y <- factor(paste0("label_", y)) > train_y <- y[train_idx] > test_y <- y[- train_idx] > > ## regularization with the supnorm lasso penalty > options("mc.cores" = 1) > model <- supclass(train_x, train_y, model = "psvm", penalty = "lasso") Error: The package 'quadprog' is needed but not available. Execution halted Check: tests, Result: ERROR Running ‘tinytest.R’ [1s/1s] Running the tests in ‘tests/tinytest.R’ failed. Complete output: > if (requireNamespace("tinytest", quietly = TRUE) && + utils::packageVersion("tinytest") >= "1.2.2") { + set.seed(808) + tinytest::test_package("abclass", ncpu = NULL, + side_effects = TRUE) + } test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 0 tests test-abclass.R................ 1 tests OK test-abclass.R................ 2 tests OK test-abclass.R................ 2 tests OK test-abclass.R................ 2 tests OK test-abclass.R................ 3 tests OK test-abclass.R................ 4 tests OK test-abclass.R................ 4 tests OK test-abclass.R................ 4 tests OK test-abclass.R................ 5 tests OK test-abclass.R................ 6 tests OK test-abclass.R................ 6 tests OK test-abclass.R................ 6 tests OK test-abclass.R................ 7 tests OK test-abclass.R................ 7 tests OK test-abclass.R................ 7 tests OK test-abclass.R................ 8 tests OK test-abclass.R................ 9 tests OK test-abclass.R................ 10 tests OK test-abclass.R................ 11 tests OK test-abclass.R................ 12 tests OK test-abclass.R................ 12 tests OK test-abclass.R................ 13 tests OK test-abclass.R................ 13 tests OK test-abclass.R................ 13 tests OK test-abclass.R................ 13 tests OK 0.1s test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 0 tests test-cv.abclass.R............. 1 tests OK test-cv.abclass.R............. 2 tests OK test-cv.abclass.R............. 2 tests OK test-cv.abclass.R............. 2 tests OK test-cv.abclass.R............. 3 tests OK test-cv.abclass.R............. 4 tests OK test-cv.abclass.R............. 4 tests OK test-cv.abclass.R............. 4 tests OK test-cv.abclass.R............. 5 tests OK test-cv.abclass.R............. 6 tests OK test-cv.abclass.R............. 6 tests OK test-cv.abclass.R............. 6 tests OK test-cv.abclass.R............. 7 tests OK test-cv.abclass.R............. 8 tests OK test-cv.abclass.R............. 8 tests OK test-cv.abclass.R............. 9 tests OK test-cv.abclass.R............. 9 tests OK test-cv.abclass.R............. 10 tests OK test-cv.abclass.R............. 10 tests OK test-cv.abclass.R............. 11 tests OK test-cv.abclass.R............. 11 tests OK test-cv.abclass.R............. 12 tests OK test-cv.abclass.R............. 13 tests OK test-cv.abclass.R............. 13 tests OK test-cv.abclass.R............. 14 tests OK test-cv.abclass.R............. 15 tests OK 0.2s test-cv.supclass.R............ 0 tests test-cv.supclass.R............ 0 tests test-cv.supclass.R............ 0 tests test-cv.supclass.R............ 0 tests test-cv.supclass.R............ 0 tests test-cv.supclass.R............ 0 tests test-cv.supclass.R............ 0 tests test-cv.supclass.R............ 0 tests test-cv.supclass.R............ 0 tests test-cv.supclass.R............ 0 tests test-cv.supclass.R............ 0 tests test-cv.supclass.R............ 0 tests test-cv.supclass.R............ 0 tests test-cv.supclass.R............ 0 tests test-cv.supclass.R............ 0 tests Error: The package 'quadprog' is needed but not available. Execution halted