Running examples in ‘tourr-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: path_index
> ### Title: Compute index values for a tour history.
> ### Aliases: path_index
> ### Keywords: hplot
> 
> ### ** Examples
> 
> fl_holes <- save_history(flea[, 1:6], guided_tour(holes), sphere = TRUE)
Value 0.894 0.9% better (0.265 away) - NEW BASIS
Value 0.889 0.3% better (0.112 away) - NEW BASIS
Value 0.903 1.6% better (0.297 away) - NEW BASIS
Value 0.914 1.2% better (0.269 away) - NEW BASIS
Value 0.921 0.8% better (0.319 away) - NEW BASIS
Value 0.922 0.1% better (0.062 away)
Value 0.930 0.9% better (0.207 away) - NEW BASIS
Value 0.932 0.2% better (0.108 away) - NEW BASIS
Value 0.933 0.1% better (0.064 away) - NEW BASIS
Value 0.933 0.1% better (0.064 away)
Value 0.933 0.0% better (0.043 away)
Value 0.934 0.2% better (0.090 away) - NEW BASIS
Value 0.935 0.1% better (0.054 away)
Value 0.934 0.0% better (0.028 away)
Value 0.934 0.0% better (0.035 away)
Value 0.934 0.0% better (0.041 away)
Value 0.935 0.0% better (0.038 away)
Value 0.935 0.0% better (0.042 away)
Value 0.935 0.0% better (0.046 away)
Value 0.935 0.1% better (0.051 away)
Value 0.934 0.0% better (0.037 away)
Value 0.935 0.1% better (0.051 away)
Value 0.935 0.0% better (0.048 away)
Value 0.935 0.1% better (0.071 away)
Value 0.934 0.0% better (0.034 away)
Value 0.935 0.1% better (0.058 away)
Value 0.935 0.0% better (0.044 away)
Value 0.934 0.0% better (0.039 away)
Value 0.934 0.0% better (0.016 away)
Value 0.935 0.1% better (0.061 away)
Value 0.934 0.0% better (0.044 away)
Value 0.934 0.0% better (0.029 away)
Value 0.935 0.0% better (0.052 away)
Value 0.935 0.0% better (0.043 away)
Value 0.935 0.1% better (0.067 away) - NEW BASIS
Value 0.935 0.0% better (0.023 away)
Value 0.935 0.0% better (0.017 away)
Value 0.935 0.0% better (0.020 away)
Value 0.935 0.0% better (0.019 away)
Value 0.935 0.0% better (0.019 away)
Value 0.935 0.0% better (0.014 away)
Value 0.935 0.0% better (0.020 away)
Value 0.935 0.0% better (0.019 away)
Value 0.935 0.0% better (0.015 away)
Value 0.935 0.0% better (0.013 away)
Value 0.935 0.0% better (0.019 away)
Value 0.935 0.0% better (0.021 away)
Value 0.935 0.0% better (0.024 away)
Value 0.935 0.0% better (0.022 away)
Value 0.935 0.0% better (0.022 away)
Value 0.935 0.0% better (0.025 away)
Value 0.935 0.0% better (0.022 away)
Value 0.935 0.0% better (0.018 away)
Value 0.935 0.0% better (0.023 away)
Value 0.935 0.0% better (0.019 away)
Value 0.935 0.0% better (0.013 away)
Value 0.935 0.0% better (0.016 away)
Value 0.935 0.0% better (0.025 away)
Value 0.935 0.0% better (0.017 away)
No better bases found after 25 tries.  Giving up.
Final projection: 
0.951  -0.067  
-0.038  0.846  
0.229  0.443  
-0.084  -0.223  
-0.009  -0.127  
0.188  -0.136  
> path_index(fl_holes, holes)
[1] 0.8888866 0.9034753 0.9144009 0.9212867 0.9295719 0.9315650 0.9326219
[8] 0.9341583 0.9350965
attr(,"class")
[1] "path_index"
> path_index(fl_holes, cmass)
[1] 0.11111341 0.09652468 0.08559911 0.07871328 0.07042810 0.06843499 0.06737811
[8] 0.06584170 0.06490351
attr(,"class")
[1] "path_index"
> 
> plot(path_index(fl_holes, holes), type = "l")
Error in loadNamespace(name) : there is no package called ‘ggplot2’
Calls: plot ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted