Last updated on 2026-05-10 21:49:58 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.3.10 | 8.62 | 274.52 | 283.14 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.3.10 | 6.26 | 103.17 | 109.43 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.3.10 | 15.00 | 425.49 | 440.49 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.3.10 | 14.00 | 436.68 | 450.68 | OK | |
| r-devel-windows-x86_64 | 0.3.10 | 14.00 | 277.00 | 291.00 | OK | |
| r-patched-linux-x86_64 | 0.3.10 | 8.98 | 261.93 | 270.91 | OK | |
| r-release-linux-x86_64 | 0.3.10 | 6.91 | 259.08 | 265.99 | OK | |
| r-release-macos-arm64 | 0.3.10 | 2.00 | 70.00 | 72.00 | OK | |
| r-release-macos-x86_64 | 0.3.10 | 6.00 | 259.00 | 265.00 | OK | |
| r-release-windows-x86_64 | 0.3.10 | 11.00 | 266.00 | 277.00 | OK | |
| r-oldrel-macos-arm64 | 0.3.10 | OK | ||||
| r-oldrel-macos-x86_64 | 0.3.10 | 5.00 | 220.00 | 225.00 | OK | |
| r-oldrel-windows-x86_64 | 0.3.10 | 16.00 | 385.00 | 401.00 | OK |
Version: 0.3.10
Check: examples
Result: ERROR
Running examples in ‘spinifex-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.3.10
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [26s/33s]
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.895, 14.4% better
Target: 0.963, 7.6% better
Target: 0.967, 0.4% better
Target: 0.974, 0.7% better
Target: 0.980, 0.6% better
Target: 0.982, 0.2% better
Target: 0.996, 1.4% better
No better bases found after 25 tries. Giving up.
Final projection:
0.095 0.851
0.246 0.057
-0.522 0.450
0.067 0.216
0.808 0.155
Target: 0.969, 35.4% better
Target: 0.997, 3.0% better
Target: 1.035, 3.7% better
Target: 1.039, 0.5% better
Target: 1.041, 0.1% better
Target: 1.042, 0.1% better
Target: 1.043, 0.1% better
No better bases found after 25 tries. Giving up.
Final projection:
-0.098 0.203
0.089 -0.715
0.589 -0.006
0.205 -0.609
-0.770 -0.275
Target: 0.292, 40.6% better
Target: 0.333, 14.0% better
Target: 0.340, 2.4% better
Target: 0.370, 8.6% better
Target: 0.379, 2.4% better
Target: 0.381, 0.6% better
Target: 0.509, 33.5% better
Target: 0.514, 1.0% better
Target: 0.676, 31.6% better
Target: 0.713, 5.4% better
Target: 0.716, 0.4% better
Target: 0.727, 1.5% better
Target: 0.740, 1.8% better
Target: 0.741, 0.1% better
Target: 0.744, 0.4% better
Target: 0.745, 0.1% better
Target: 0.747, 0.2% better
Target: 0.747, 0.1% better
Target: 0.748, 0.1% better
No better bases found after 30 tries. Giving up.
Final projection:
0.245 0.476
-0.315 0.526
-0.651 -0.364
0.563 -0.512
-0.315 -0.320
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
Flavor: r-devel-linux-x86_64-debian-gcc