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

> ### Name: dimred_umap
> ### Title: UMAP
> ### Aliases: dimred_umap
> 
> ### ** Examples
> 
> library(Matrix)
> dataset <- abs(Matrix::rsparsematrix(100, 100, .5))
> dimred_umap(dataset, ndim = 3)
Installing uwot
Installing 1 packages: uwot
Installing package into ‘/tmp/RtmpgEaOml/RLIBS_166549867cd2’
(as ‘lib’ is unspecified)
also installing the dependencies ‘sitmo’, ‘FNN’, ‘RcppAnnoy’, ‘RcppProgress’, ‘dqrng’

trying URL 'http://cran.rstudio.com/src/contrib/sitmo_2.0.1.tar.gz'
Warning in download.file(url, destfile, method, mode = "wb", ...) :
  cannot open URL 'http://cran.rstudio.com/src/contrib/sitmo_2.0.1.tar.gz': HTTP status was '504 Gateway Timeout'
Error in download.file(url, destfile, method, mode = "wb", ...) : 
  cannot open URL 'http://cran.rstudio.com/src/contrib/sitmo_2.0.1.tar.gz'
Warning in download.packages(pkgs, destdir = tmpd, available = available,  :
  download of package ‘sitmo’ failed
trying URL 'http://cran.rstudio.com/src/contrib/FNN_1.1.3.tar.gz'
Content type 'application/x-gzip' length 78492 bytes (76 KB)
==================================================
downloaded 76 KB

trying URL 'http://cran.rstudio.com/src/contrib/RcppAnnoy_0.0.14.tar.gz'
Content type 'application/x-gzip' length 439993 bytes (429 KB)
==================================================
downloaded 429 KB

trying URL 'http://cran.rstudio.com/src/contrib/RcppProgress_0.4.1.tar.gz'
Content type 'application/x-gzip' length 12400 bytes (12 KB)
==================================================
downloaded 12 KB

trying URL 'http://cran.rstudio.com/src/contrib/dqrng_0.2.1.tar.gz'
Content type 'application/x-gzip' length 73541 bytes (71 KB)
==================================================
downloaded 71 KB

trying URL 'http://cran.rstudio.com/src/contrib/uwot_0.1.4.tar.gz'
Content type 'application/x-gzip' length 81262 bytes (79 KB)
==================================================
downloaded 79 KB

* installing *source* package ‘FNN’ ...
** package ‘FNN’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c ANN.cpp -o ANN.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c KNN_ANN.cpp -o KNN_ANN.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c KNN_correlation_distance.cpp -o KNN_correlation_distance.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c KNN_cover_test.cpp -o KNN_cover_test.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c KNN_cover_tree.cpp -o KNN_cover_tree.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c KNN_mutual_information.cpp -o KNN_mutual_information.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c bd_fix_rad_search.cpp -o bd_fix_rad_search.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c bd_pr_search.cpp -o bd_pr_search.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c bd_search.cpp -o bd_search.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c bd_tree.cpp -o bd_tree.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c brute.cpp -o brute.o
/home/ripley/developerstudio12.6/bin/cc -xc99 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmieee -xlibmil -xtarget=native -xcache=generic -nofstore  -c init_FNN.c -o init_FNN.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c kd_dump.cpp -o kd_dump.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c kd_fix_rad_search.cpp -o kd_fix_rad_search.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c kd_pr_search.cpp -o kd_pr_search.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c kd_search.cpp -o kd_search.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c kd_split.cpp -o kd_split.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c kd_tree.cpp -o kd_tree.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c kd_util.cpp -o kd_util.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c label_point.cpp -o label_point.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c perf.cpp -o perf.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -G -L/usr/local/lib -o FNN.so ANN.o KNN_ANN.o KNN_correlation_distance.o KNN_cover_test.o KNN_cover_tree.o KNN_mutual_information.o bd_fix_rad_search.o bd_pr_search.o bd_search.o bd_tree.o brute.o init_FNN.o kd_dump.o kd_fix_rad_search.o kd_pr_search.o kd_search.o kd_split.o kd_tree.o kd_util.o label_point.o perf.o
rm -f *.o core
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c ANN.cpp -o ANN.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c KNN_ANN.cpp -o KNN_ANN.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c KNN_correlation_distance.cpp -o KNN_correlation_distance.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c KNN_cover_test.cpp -o KNN_cover_test.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c KNN_cover_tree.cpp -o KNN_cover_tree.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c KNN_mutual_information.cpp -o KNN_mutual_information.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c bd_fix_rad_search.cpp -o bd_fix_rad_search.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c bd_pr_search.cpp -o bd_pr_search.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c bd_search.cpp -o bd_search.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c bd_tree.cpp -o bd_tree.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c brute.cpp -o brute.o
/home/ripley/developerstudio12.6/bin/cc -xc99 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmieee -xlibmil -xtarget=native -xcache=generic -nofstore  -c init_FNN.c -o init_FNN.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c kd_dump.cpp -o kd_dump.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c kd_fix_rad_search.cpp -o kd_fix_rad_search.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c kd_pr_search.cpp -o kd_pr_search.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c kd_search.cpp -o kd_search.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c kd_split.cpp -o kd_split.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c kd_tree.cpp -o kd_tree.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c kd_util.cpp -o kd_util.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c label_point.cpp -o label_point.o
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -Iinclude -DUSING_R -DUSING_RPRINT  -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c perf.cpp -o perf.o
installing to /tmp/RtmpgEaOml/RLIBS_166549867cd2/00LOCK-FNN/00new/FNN/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (FNN)
* installing *source* package ‘RcppAnnoy’ ...
** package ‘RcppAnnoy’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
/home/ripley/developerstudio12.6/bin/CC -std=c++11 -library=stdcpp,CrunG3 -I"/home/ripley/R/cc/include" -DNDEBUG -I../inst/include/ -I"/tmp/RtmpgEaOml/RLIBS_166549867cd2/Rcpp/include" -I/usr/local/include  -KPIC  -O -xlibmil -xtarget=native -xcache=generic -nofstore  -c annoy.cpp -o annoy.o
"../inst/include/annoylib.h", line 114: Error: Formal argument 1 of type char* in call to munmap(char*, unsigned) is being passed void*.
"../inst/include/annoylib.h", line 118: Error: Formal argument 1 of type char* in call to mmap(char*, unsigned, int, int, int, long) is being passed void*.
2 Error(s) detected.
*** Error code 2
make: Fatal error: Command failed for target `annoy.o'
Current working directory /tmp/RtmpgEaOml/working_dir/Rtmp.paqRX/R.INSTALL635a3572181e/RcppAnnoy/src
ERROR: compilation failed for package ‘RcppAnnoy’
* removing ‘/tmp/RtmpgEaOml/RLIBS_166549867cd2/RcppAnnoy’
Warning in i.p(...) :
  installation of package ‘RcppAnnoy’ had non-zero exit status
* installing *source* package ‘RcppProgress’ ...
** package ‘RcppProgress’ successfully unpacked and MD5 sums checked
** using staged installation
** inst
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (RcppProgress)
ERROR: dependency ‘sitmo’ is not available for package ‘dqrng’
* removing ‘/tmp/RtmpgEaOml/RLIBS_166549867cd2/dqrng’
Warning in i.p(...) :
  installation of package ‘dqrng’ had non-zero exit status
ERROR: dependencies ‘RcppAnnoy’, ‘dqrng’ are not available for package ‘uwot’
* removing ‘/tmp/RtmpgEaOml/RLIBS_166549867cd2/uwot’
Warning in i.p(...) :
  installation of package ‘uwot’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/RtmpgEaOml/working_dir/RtmpNhaatO/downloaded_packages’
Installed uwot
Loading required namespace: uwot
Failed with error:  ‘there is no package called ‘uwot’’
Error in loadNamespace(name) : there is no package called ‘uwot’
Calls: dimred_umap ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted