CRAN Package Check Results for Package tourr

Last updated on 2026-06-04 18:50:20 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.7 5.99 99.15 105.14 OK
r-devel-linux-x86_64-debian-gcc 1.2.7 4.34 65.98 70.32 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.7 11.00 166.49 177.49 OK
r-devel-linux-x86_64-fedora-gcc 1.2.7 12.00 162.90 174.90 OK
r-devel-windows-x86_64 1.2.7 11.00 152.00 163.00 OK
r-patched-linux-x86_64 1.2.7 8.60 92.97 101.57 OK
r-release-linux-x86_64 1.2.7 6.53 91.78 98.31 OK
r-release-macos-arm64 1.2.7 2.00 47.00 49.00 OK
r-release-macos-x86_64 1.2.7 5.00 120.00 125.00 OK
r-release-windows-x86_64 1.2.7 11.00 146.00 157.00 OK
r-oldrel-macos-arm64 1.2.7 2.00 51.00 53.00 OK
r-oldrel-macos-x86_64 1.2.7 5.00 138.00 143.00 OK
r-oldrel-windows-x86_64 1.2.7 13.00 167.00 180.00 OK

Check Details

Version: 1.2.7
Check: examples
Result: ERROR Running examples in ‘tourr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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 Flavor: r-devel-linux-x86_64-debian-gcc