- using R Under development (unstable) (2025-12-24 r89227)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-11) 15.2.0
GNU Fortran (Debian 15.2.0-11) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘abclass/DESCRIPTION’ ... OK
- this is package ‘abclass’ version ‘0.5.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- 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 ... OK
See the install log for details.
- used C++ compiler: ‘g++-15 (Debian 15.2.0-11) 15.2.0’
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [6s/9s] OK
- checking Rd files ... [0s/1s] 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 ... [0s/1s] 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 'qpmadr' is needed but not available.
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [2s/3s] ERROR
Running ‘tinytest.R’ [2s/3s]
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 [0;32mOK [0m
test-abclass.R................ 2 tests [0;32mOK [0m
test-abclass.R................ 2 tests [0;32mOK [0m
test-abclass.R................ 2 tests [0;32mOK [0m
test-abclass.R................ 3 tests [0;32mOK [0m
test-abclass.R................ 4 tests [0;32mOK [0m
test-abclass.R................ 4 tests [0;32mOK [0m
test-abclass.R................ 4 tests [0;32mOK [0m
test-abclass.R................ 5 tests [0;32mOK [0m
test-abclass.R................ 6 tests [0;32mOK [0m
test-abclass.R................ 6 tests [0;32mOK [0m
test-abclass.R................ 6 tests [0;32mOK [0m
test-abclass.R................ 7 tests [0;32mOK [0m
test-abclass.R................ 7 tests [0;32mOK [0m
test-abclass.R................ 7 tests [0;32mOK [0m
test-abclass.R................ 8 tests [0;32mOK [0m
test-abclass.R................ 9 tests [0;32mOK [0m
test-abclass.R................ 10 tests [0;32mOK [0m
test-abclass.R................ 11 tests [0;32mOK [0m
test-abclass.R................ 12 tests [0;32mOK [0m
test-abclass.R................ 12 tests [0;32mOK [0m
test-abclass.R................ 13 tests [0;32mOK [0m
test-abclass.R................ 13 tests [0;32mOK [0m
test-abclass.R................ 13 tests [0;32mOK [0m
test-abclass.R................ 14 tests [0;32mOK [0m [0;34m2.0s [0m
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 [0;32mOK [0m
test-cv.abclass.R............. 2 tests [0;32mOK [0m
test-cv.abclass.R............. 2 tests [0;32mOK [0m
test-cv.abclass.R............. 2 tests [0;32mOK [0m
test-cv.abclass.R............. 3 tests [0;32mOK [0m
test-cv.abclass.R............. 4 tests [0;32mOK [0m
test-cv.abclass.R............. 4 tests [0;32mOK [0m
test-cv.abclass.R............. 4 tests [0;32mOK [0m
test-cv.abclass.R............. 5 tests [0;32mOK [0m
test-cv.abclass.R............. 6 tests [0;32mOK [0m
test-cv.abclass.R............. 6 tests [0;32mOK [0m
test-cv.abclass.R............. 6 tests [0;32mOK [0m
test-cv.abclass.R............. 7 tests [0;32mOK [0m
test-cv.abclass.R............. 8 tests [0;32mOK [0m
test-cv.abclass.R............. 8 tests [0;32mOK [0m
test-cv.abclass.R............. 9 tests [0;32mOK [0m
test-cv.abclass.R............. 9 tests [0;32mOK [0m
test-cv.abclass.R............. 10 tests [0;32mOK [0m
test-cv.abclass.R............. 10 tests [0;32mOK [0m
test-cv.abclass.R............. 11 tests [0;32mOK [0m
test-cv.abclass.R............. 11 tests [0;32mOK [0m
test-cv.abclass.R............. 12 tests [0;32mOK [0m
test-cv.abclass.R............. 13 tests [0;32mOK [0m
test-cv.abclass.R............. 13 tests [0;32mOK [0m
test-cv.abclass.R............. 14 tests [0;32mOK [0m
test-cv.abclass.R............. 15 tests [0;32mOK [0m [0;34m0.5s [0m
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 ... [5s/7s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs