* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/abclass.Rcheck’ * using R Under development (unstable) (2025-12-24 r89227) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) * running under: Fedora Linux 42 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘abclass/DESCRIPTION’ ... OK * this is package ‘abclass’ version ‘0.5.0’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: ‘qpmadr’ * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘abclass’ can be installed ... [12m/10m] OK * used C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’ * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [13s/13s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... ERROR Running examples in ‘abclass-Ex.R’ failed The error most likely occurred in: > ### 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 'qpmadr' is needed but not available. Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘tinytest.R’ ERROR 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.6s 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 1.0s 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 'qpmadr' is needed but not available. Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/data/gannet/ripley/R/packages/tests-Suggests/abclass.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 11:29.77, 735.38 + 27.52