Running 'testthat.R' [57s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > Sys.setenv("R_TESTS" = "")
  > 
  > test_check("princurve")
  Loading required package: princurve
  * installing *source* package 'princurvelegacy' ...
  ** libs
  
  *** arch - i386
  make[1]: Entering directory `/cygdrive/d/temp/Rtmpgzxk7D/devtools2047054a918de/dynverse-princurve-81b12ac/src-i386'
  d:/Compiler/gcc-4.9.3/mingw_32/bin/gfortran      -O3  -mtune=core2 -c getlam.f -o getlam.o
  d:/Compiler/gcc-4.9.3/mingw_32/bin/gfortran      -O3  -mtune=core2 -c sortdi.f -o sortdi.o
  d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -shared -s -static-libgcc -o princurvelegacy.dll tmp.def getlam.o sortdi.o -Ld:/Compiler/gcc-4.9.3/local330/lib/i386 -Ld:/Compiler/gcc-4.9.3/local330/lib -lgfortran -lm -lquadmath -LD:/RCompile/recent/R-34~1.4/bin/i386 -lR
  make[1]: Leaving directory `/cygdrive/d/temp/Rtmpgzxk7D/devtools2047054a918de/dynverse-princurve-81b12ac/src-i386'
  make[1]: Entering directory `/cygdrive/d/temp/Rtmpgzxk7D/devtools2047054a918de/dynverse-princurve-81b12ac/src-i386'
  make[1]: Leaving directory `/cygdrive/d/temp/Rtmpgzxk7D/devtools2047054a918de/dynverse-princurve-81b12ac/src-i386'
  installing to D:/temp/Rtmpgh27gl/RLIBS_18e78281361ef/princurvelegacy/libs/i386
  
  *** arch - x64
  make[1]: Entering directory `/cygdrive/d/temp/Rtmpgzxk7D/devtools2047054a918de/dynverse-princurve-81b12ac/src-x64'
  d:/Compiler/gcc-4.9.3/mingw_64/bin/gfortran -m64     -O2  -mtune=core2 -c getlam.f -o getlam.o
  d:/Compiler/gcc-4.9.3/mingw_64/bin/gfortran -m64     -O2  -mtune=core2 -c sortdi.f -o sortdi.o
  d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64 -shared -s -static-libgcc -o princurvelegacy.dll tmp.def getlam.o sortdi.o -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -lgfortran -lm -lquadmath -LD:/RCompile/recent/R-34~1.4/bin/x64 -lR
  make[1]: Leaving directory `/cygdrive/d/temp/Rtmpgzxk7D/devtools2047054a918de/dynverse-princurve-81b12ac/src-x64'
  make[1]: Entering directory `/cygdrive/d/temp/Rtmpgzxk7D/devtools2047054a918de/dynverse-princurve-81b12ac/src-x64'
  make[1]: Leaving directory `/cygdrive/d/temp/Rtmpgzxk7D/devtools2047054a918de/dynverse-princurve-81b12ac/src-x64'
  installing to D:/temp/Rtmpgh27gl/RLIBS_18e78281361ef/princurvelegacy/libs/x64
  ** R
  ** preparing package for lazy loading
  ** help
  *** installing help indices
  ** building package indices
  ** testing if installed package can be loaded
  *** arch - i386
  *** arch - x64
  * DONE (princurvelegacy)
  In R CMD INSTALL
  -- 1. Failure: principal_curve is at least as fast as legacy principal.curve (@t
  smic$median[[2]] is not less than smic$median[[1]] * 2. Difference: 5.4
  
  == testthat results  ===========================================================
  OK: 536 SKIPPED: 0 FAILED: 1
  1. Failure: principal_curve is at least as fast as legacy principal.curve (@test-legacy_princurve.R#88) 
  
  Error: testthat unit tests failed
  Execution halted