* using log directory 'd:/Rcompile/CRANpkg/local/4.7/pandemonium.Rcheck' * using R Under development (unstable) (2026-06-04 r90104 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-06-05 18:12:40 UTC * checking for file 'pandemonium/DESCRIPTION' ... OK * this is package 'pandemonium' version '1.0.0' * package encoding: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'pandemonium' can be installed ... OK * checking installed package size ... OK * checking package directory ... 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] 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] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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] 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 ... [7s] ERROR Running examples in 'pandemonium-Ex.R' failed The error most likely occurred in: > ### Name: makePlots > ### Title: Generate a specified plot outside the GUI > ### Aliases: makePlots > > ### ** Examples > > makePlots( + cluster = Bikes$space1, + settings = list( + plotType = "WC", x = "hum", y = "temp", k = 4, metric = "euclidean", + linkage = "ward.D2", WCa = 0.5, showalpha = TRUE + ), cov = cov(Bikes$space1), + linked = Bikes$space2, getScore = outsideScore(Bikes$other$res, "Residual") + ) > > makePlots( + cluster = Bikes$space1, + settings = list( + plotType = "tour", k = 4, metric = "euclidean", linkage = "ward.D2", + tourspace = "space1", colouring = "clustering", out_dim = 2, tour_path = "grand", + display = "scatter", radial_start = NULL, radial_var = NULL, slice_width = NULL, seed = 2025 + ), + cov = cov(Bikes$space1), linked = Bikes$space2, + getScore = outsideScore(Bikes$other$res, "Residual") + ) Error in unclass(x)[i, j, k, drop = FALSE] : incorrect number of dimensions Calls: makePlots ... -> apply -> array -> [ -> [.history_array Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [20s] ERROR Running 'testthat.R' [20s] 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(pandemonium) > > test_check("pandemonium") Saving _problems/test-plotting-13.R Saving _problems/test-plotting-28.R Target: 0.024, 177.5% better Target: 0.026, 7.6% better Target: 0.030, 17.0% better Target: 0.032, 5.7% better Target: 0.032, 1.4% better Target: 0.032, 0.4% better Target: 0.032, 1.0% better Target: 0.033, 0.2% better Target: 0.033, 0.3% better Target: 0.033, 0.1% better Target: 0.033, 0.5% better Target: 0.033, 0.4% better Target: 0.033, 0.2% better Target: 0.033, 0.1% better No better bases found after 25 tries. Giving up. Final projection: 0.244 -0.158 -0.394 0.297 0.015 -0.353 0.149 -0.199 -0.400 -0.378 -0.055 0.210 0.347 0.681 0.692 -0.268 Saving _problems/test-plotting-35.R Saving _problems/test-plotting-42.R [ FAIL 4 | WARN 0 | SKIP 0 | PASS 5 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-plotting.R:10:3'): tour works ──────────────────────────────── Expected `makePlots(...)` not to throw any conditions. Actually got a with message: incorrect number of dimensions ── Failure ('test-plotting.R:25:3'): radial tour works with random basis ─────── Expected `makePlots(...)` not to throw any conditions. Actually got a with message: incorrect number of dimensions ── Error ('test-plotting.R:32:3'): radial tour works with ppi basis ──────────── Error in `unclass(x)[i, j, k, drop = FALSE]`: incorrect number of dimensions Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-plotting.R:32:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─pandemonium::makePlots(...) 8. │ └─pandemonium:::tourMaker(...) 9. │ └─... %>% detourr::show_scatter(palette = pal) 10. ├─detourr::show_scatter(., palette = pal) 11. │ └─detourr:::show_scatter_internal(...) 12. │ └─detourr::is_detour(x) 13. └─detourr::tour_path(., tourPath, fps = 60, aps = angles, max_bases = tour_bases) 14. └─purrr::array_branch(projection_matrices, 3) 15. └─base::apply(array, margin, list) 16. ├─base::array(newX[, i], d.call, dn.call) 17. ├─newX[, i] 18. └─tourr:::`[.history_array`(newX, , i) ── Failure ('test-plotting.R:39:3'): tour final frame works ──────────────────── Expected `makePlots(...)` not to throw any conditions. Actually got a with message: incorrect number of dimensions [ FAIL 4 | WARN 0 | SKIP 0 | PASS 5 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [18s] OK * checking PDF version of manual ... [27s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 2 ERRORs