* using log directory ‘/home/hornik/tmp/CRAN_special_noSuggests/aramappings.Rcheck’ * using R Under development (unstable) (2026-01-27 r89337) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-15 (Debian 15.2.0-12) 15.2.0 GNU Fortran (Debian 15.2.0-12) 15.2.0 * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘aramappings/DESCRIPTION’ ... OK * this is package ‘aramappings’ version ‘0.1.3’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/7s] OK * checking package namespace information ... OK * checking package dependencies ... OK * 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 ‘aramappings’ can be installed ... [2s/2s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] 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 ... [5s/5s] OK * checking Rd files ... [0s/0s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [0s/0s] ERROR Running examples in ‘aramappings-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: ara_exact_l1 > ### Title: Exact Adaptable Radial Axes (ARA) mappings using the L1 norm > ### Aliases: ara_exact_l1 > > ### ** Examples > > # Define subset of (numerical) variables of the auto_mpg dataset > # 1:"mpg", 4:"horsepower", 5:"weight", 6:"acceleration" > selected_variables <- c(1, 4, 5, 6) > n <- length(selected_variables) > > # Retain only selected variables and rename dataset as X > X <- auto_mpg[, selected_variables] # Select a subset of variables > > # Remove rows with missing values from X > N <- nrow(X) > rows_to_delete <- NULL > for (i in 1:N) { + if (sum(is.na(X[i, ])) > 0) { + rows_to_delete <- c(rows_to_delete, -i) + } + } > X <- X[rows_to_delete, ] > > # Convert X to matrix > X <- apply(as.matrix.noquote(X), 2, as.numeric) > > # Standardize data > Z <- scale(X) > > # Define axis vectors (2-dimensional in this example) > r <- c(0.8, 1, 1.2, 1) > theta <- c(225, 100, 315, 80) * 2 * pi / 360 > V <- pracma::zeros(n, 2) > for (i in 1:n) { + V[i,1] <- r[i] * cos(theta[i]) + V[i,2] <- r[i] * sin(theta[i]) + } > > # Select variable for exact estimates, and use it for coloring the embedded > # points > variable <- sample(1:n, 1) > > # Detect the number of available CPU cores > if (requireNamespace("parallelly", quietly = TRUE)) { + NCORES <- parallelly::availableCores(omit = 1) + } else { + NCORES <- parallel::detectCores() - 1 + } > > # Create a cluster for parallel processing > cl <- parallel::makeCluster(NCORES) Error in .check_ncores(length(names)) : 31 simultaneous processes spawned Calls: -> makePSOCKcluster -> .check_ncores Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [39s/39s] ERROR Running ‘testthat.R’ [39s/39s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(aramappings) > > test_check("aramappings") Saving _problems/test-ara_exact_l1-201.R [ FAIL 1 | WARN 0 | SKIP 3 | PASS 344 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • {parallelly} is not installed. (3): 'test-ara_exact_linf.R:189:1', 'test-ara_unconstrained_l1.R:198:1', 'test-ara_unconstrained_linf.R:199:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ara_exact_l1.R:201:1'): (code run outside of `test_that()`) ──── Error in `.check_ncores(length(names))`: 31 simultaneous processes spawned Backtrace: ▆ 1. └─parallel::makeCluster(NCORES) at test-ara_exact_l1.R:201:1 2. └─parallel::makePSOCKcluster(names = spec, ...) 3. └─parallel:::.check_ncores(length(names)) [ FAIL 1 | WARN 0 | SKIP 3 | PASS 344 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [0s/0s] OK * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs