- using R Under development (unstable) (2026-06-04 r90104)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)
GNU Fortran (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-06-04 20:52:32 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘tourr/DESCRIPTION’ ... OK
- this is package ‘tourr’ version ‘1.2.7’
- 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 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 ‘tourr’ can be installed ... [12s/40s] OK
See the install log for details.
- 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... [22s/44s] OK
- checking Rd files ... 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 ... 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 ... [20s/47s] ERROR
Running examples in ‘tourr-Ex.R’ failed
The error most likely occurred in:
> ### Name: path_dist
> ### Title: Compute distance matrix from bases.
> ### Aliases: path_dist
>
> ### ** Examples
>
> # This code is to be used as an example but you should increase
> # the max from 2 to 50, say, to check tour coverage.
> flea_std <- apply(flea[,1:6], 2, function(x) (x-mean(x))/sd(x))
> grand <- interpolate(save_history(flea_std, max = 2), 0.2)
> # The grand tour -----------------------------
> # Look at the tour path in a tour, how well does it cover a sphere
> # Using MDS to summarise the high-d space of projections
> # Last basis is a duplicate, needs removing
> d <- path_dist(grand[,,-dim(grand)[[3]]])
> ord <- as.data.frame(MASS::isoMDS(d)$points)
initial value 0.005709
final value 0.003478
converged
> require(ggplot2)
Loading required package: ggplot2
> ggplot(data = ord, aes(x=V1, y=V2)) +
+ geom_path() +
+ coord_equal() +
+ labs(x = NULL, y = NULL)
>
> # Compare five guided tours -----------------------------
> holes1d <- guided_tour(holes(), 1)
> tour_reps <- replicate(5, save_history(flea_std, holes1d, max = 2),
+ simplify = FALSE
+ )
Target: 0.684, 32.6% better
Target: 1.202, 80.6% better
Target: 0.922, 23.3% better
Target: 1.383, 65.4% better
Target: 0.646, 36.3% better
> tour_reps2 <- lapply(tour_reps, interpolate, 0.2)
>
> bases <- unlist(lapply(tour_reps2, as.list), recursive = FALSE)
> class(bases) <- "history_list"
> index_values <- paths_index(tour_reps2, holes())
Error in unclass(x)[i, j, k, drop = FALSE] :
incorrect number of dimensions
Calls: paths_index ... structure -> apply -> array -> [ -> [.history_array
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [20s/26s] OK
Running ‘testthat.R’ [20s/25s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [24s/30s] OK
- checking PDF version of manual ... [12s/14s] OK
- checking HTML version of manual ... [11s/14s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR