* using log directory 'd:/Rcompile/CRANpkg/local/4.7/spinifex.Rcheck' * using R Under development (unstable) (2026-05-09 r90031 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-05-10 19:12:36 UTC * checking for file 'spinifex/DESCRIPTION' ... OK * this is package 'spinifex' version '0.3.10' * 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 'spinifex' 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking whether startup messages can be suppressed ... [2s] 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 ... [7s] OK * checking Rd files ... [2s] 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 ... [6s] ERROR Running examples in 'spinifex-Ex.R' failed The error most likely occurred in: > ### Name: append_fixed_y > ### Title: Append a fixed vertical height > ### Aliases: append_fixed_y > > ### ** Examples > > library(spinifex) > dat <- scale_sd(penguins_na.rm[, 1:4]) > clas <- penguins_na.rm$species > bas <- basis_pca(dat) > mv <- manip_var_of(bas) > mt_path <- manual_tour(bas, manip_var = mv) > > # Fixed y height with related information, independent of a 1D tour > # _eg_ predictions or residuals. > message("don't forget to scale your fixed_y.") don't forget to scale your fixed_y. > dummy_y <- scale_sd(as.integer(clas) + rnorm(nrow(dat), 0, .5)) > gt_path <- save_history(dat, grand_tour(d = 1), max_bases = 5) > > message("append_fixed_y wants to be called early so other proto's adopt the fixed_y.") append_fixed_y wants to be called early so other proto's adopt the fixed_y. > ggt <- ggtour(gt_path, dat, angle = .3) + + append_fixed_y(fixed_y = dummy_y) + ## insert/overwrites vertical values. + proto_point(list(fill = clas, color = clas)) + + proto_basis1d() + + proto_origin() Error in .subset(x, i, j, k, drop = FALSE) : incorrect number of dimensions Calls: ggtour ... as.list.history_array -> do.call -> apply -> array -> [ -> [.history_array Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [31s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [30s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(spinifex) Loading required package: tourr -------------------------------------------------------- spinifex --- version 0.3.10 Please share bugs, suggestions, and feature requests at: https://github.com/nspyrison/spinifex/issues/ -------------------------------------------------------- Attaching package: 'spinifex' The following objects are masked from 'package:tourr': is_orthonormal, save_history > > test_check("spinifex") Target: 0.857, 36.4% better Target: 0.945, 10.2% better Target: 0.980, 3.8% better Target: 1.027, 4.8% better Target: 1.032, 0.5% better Target: 1.036, 0.3% better Target: 1.038, 0.2% better Target: 1.044, 0.6% better No better bases found after 25 tries. Giving up. Final projection: 0.242 -0.102 -0.590 0.343 -0.401 -0.544 -0.622 0.233 0.213 0.723 Target: 0.853, 6.4% better Target: 0.911, 6.8% better Target: 0.935, 2.6% better Target: 0.980, 4.9% better Target: 0.994, 1.4% better Target: 1.000, 0.6% better Target: 1.017, 1.7% better Target: 1.022, 0.5% better Target: 1.037, 1.4% better Target: 1.038, 0.1% better Target: 1.043, 0.4% better Target: 1.044, 0.1% better No better bases found after 25 tries. Giving up. Final projection: -0.245 -0.043 0.609 0.327 0.382 -0.492 0.626 0.185 -0.176 0.784 Target: 0.601, 5.3% better Target: 0.624, 3.9% better Target: 0.656, 5.0% better Target: 0.705, 7.5% better Target: 0.726, 3.0% better Target: 0.735, 1.2% better Target: 0.747, 1.6% better Target: 0.747, 0.1% better Target: 0.749, 0.2% better Target: 0.749, 0.1% better No better bases found after 30 tries. Giving up. Final projection: -0.133 -0.531 0.439 -0.455 0.536 0.512 -0.678 0.328 0.204 0.376 Attaching package: 'ggplot2' The following objects are masked from 'package:spinifex': scale_colour_discrete, scale_fill_discrete Loading required namespace: gganimate Loading required namespace: plotly [ FAIL 2 | WARN 2 | SKIP 0 | PASS 76 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-2_ggproto_visualize.r:22:1'): (code run outside of `test_that()`) ── Error in `.subset(x, i, j, k, drop = FALSE)`: incorrect number of dimensions Backtrace: ▆ 1. └─spinifex::ggtour(gt, angle = 1L) at test-2_ggproto_visualize.r:22:1 2. ├─utils::capture.output(...) 3. │ └─base::withVisible(...elt(i)) 4. └─tourr::interpolate(basis_array, angle) 5. ├─tourr::new_tour(basis_set[, , 1], planned_tour(basis_set, cycle)) 6. │ └─base::stopifnot(inherits(tour_path, "tour_path")) 7. └─tourr::planned_tour(basis_set, cycle) 8. ├─base::as.list(basis_set) 9. └─tourr:::as.list.history_array(basis_set) 10. ├─base::do.call("c", apply(x, 3, list)) 11. └─base::apply(x, 3, list) 12. ├─base::array(newX[, i], d.call, dn.call) 13. ├─newX[, i] 14. └─tourr:::`[.history_array`(newX, , i) ── Error ('test-zDepricated_3_visualize.r:17:1'): (code run outside of `test_that()`) ── Error in `.subset(x, i, j, k, drop = FALSE)`: incorrect number of dimensions Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-zDepricated_3_visualize.r:17:1 2. │ └─base::withCallingHandlers(...) 3. └─spinifex::play_tour_path(tour_path = tpath, data = dat_std, angle = 1) 4. ├─utils::capture.output(...) 5. │ └─base::withVisible(...elt(i)) 6. └─tourr::interpolate(basis_set = tour_path, angle = angle) 7. ├─tourr::new_tour(basis_set[, , 1], planned_tour(basis_set, cycle)) 8. │ └─base::stopifnot(inherits(tour_path, "tour_path")) 9. └─tourr::planned_tour(basis_set, cycle) 10. ├─base::as.list(basis_set) 11. └─tourr:::as.list.history_array(basis_set) 12. ├─base::do.call("c", apply(x, 3, list)) 13. └─base::apply(x, 3, list) 14. ├─base::array(newX[, i], d.call, dn.call) 15. ├─newX[, i] 16. └─tourr:::`[.history_array`(newX, , i) [ FAIL 2 | WARN 2 | SKIP 0 | PASS 76 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [27s] OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [15s] OK * DONE Status: 2 ERRORs