Running ‘testthat.R’ [6s/12s]
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
  make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpUgQt4i/devtools366375444bab/dynverse-princurve-81b12ac/src'
  gfortran-7   -fpic  -g -O2 -Wall -pedantic -mtune=native -c getlam.f -o getlam.o
  make[1]: *** read jobs pipe: Bad file descriptor.  Stop.
  make[1]: *** Waiting for unfinished jobs....
  getlam.f:33:5:
  
   23013 continue
       1
  Warning: Label 23013 at (1) defined but not used [-Wunused-label]
  getlam.f:27:5:
  
   23011 continue
       1
  Warning: Label 23011 at (1) defined but not used [-Wunused-label]
  getlam.f:22:5:
  
   23009 continue
       1
  Warning: Label 23009 at (1) defined but not used [-Wunused-label]
  getlam.f:29:5:
  
   23007 continue
       1
  Warning: Label 23007 at (1) defined but not used [-Wunused-label]
  getlam.f:17:5:
  
   23005 continue
       1
  Warning: Label 23005 at (1) defined but not used [-Wunused-label]
  getlam.f:113:5:
  
   23037 continue
       1
  Warning: Label 23037 at (1) defined but not used [-Wunused-label]
  getlam.f:82:5:
  
   23027 continue
       1
  Warning: Label 23027 at (1) defined but not used [-Wunused-label]
  getlam.f:73:5:
  
   23023 continue
       1
  Warning: Label 23023 at (1) defined but not used [-Wunused-label]
  getlam.f:101:5:
  
   23020 ik=ik+1
       1
  Warning: Label 23020 at (1) defined but not used [-Wunused-label]
  getlam.f:92:10:
  
         lam=ik+(d1)
            1
  Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1) [-Wconversion]
  getlam.f:104:11:
  
         left=lammin
             1
  Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at (1) [-Wconversion]
  getlam.f:48:5:
  
   23018 continue
       1
  Warning: Label 23018 at (1) defined but not used [-Wunused-label]
  getlam.f:50:5:
  
   23015 i=i+1
       1
  Warning: Label 23015 at (1) defined but not used [-Wunused-label]
  make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpUgQt4i/devtools366375444bab/dynverse-princurve-81b12ac/src'
  ERROR: compilation failed for package ‘princurvelegacy’
  * removing ‘/home/hornik/tmp/scratch/Rtmpp36Cxy/RLIBS_69282bc4ee69/princurvelegacy’
  ── 1. Error: Directly compare principal.curve against legagy, run 1 (@test-legac
  there is no package called 'princurvelegacy'
  1: princurvelegacy::principal.curve at testthat/test-legacy_princurve.R:12
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 2. Error: Directly compare principal.curve against legagy, run 2 (@test-legac
  there is no package called 'princurvelegacy'
  1: princurvelegacy::principal.curve at testthat/test-legacy_princurve.R:12
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 3. Error: Directly compare principal.curve against legagy, run 3 (@test-legac
  there is no package called 'princurvelegacy'
  1: princurvelegacy::principal.curve at testthat/test-legacy_princurve.R:12
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 4. Error: Directly compare principal.curve against legagy, run 4 (@test-legac
  there is no package called 'princurvelegacy'
  1: princurvelegacy::principal.curve at testthat/test-legacy_princurve.R:12
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 5. Error: Directly compare principal.curve against legagy, run 5 (@test-legac
  there is no package called 'princurvelegacy'
  1: princurvelegacy::principal.curve at testthat/test-legacy_princurve.R:12
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 6. Error: Directly compare principal.curve against legagy, run 6 (@test-legac
  there is no package called 'princurvelegacy'
  1: princurvelegacy::principal.curve at testthat/test-legacy_princurve.R:12
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 7. Error: Directly compare principal.curve against legagy, run 7 (@test-legac
  there is no package called 'princurvelegacy'
  1: princurvelegacy::principal.curve at testthat/test-legacy_princurve.R:12
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 8. Error: Directly compare principal.curve against legagy, run 8 (@test-legac
  there is no package called 'princurvelegacy'
  1: princurvelegacy::principal.curve at testthat/test-legacy_princurve.R:12
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 9. Error: Directly compare principal.curve against legagy, run 9 (@test-legac
  there is no package called 'princurvelegacy'
  1: princurvelegacy::principal.curve at testthat/test-legacy_princurve.R:12
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 10. Error: Directly compare principal.curve against legagy, run 10 (@test-leg
  there is no package called 'princurvelegacy'
  1: princurvelegacy::principal.curve at testthat/test-legacy_princurve.R:12
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 11. Error: Directly compare get.lam against legagy, run 1 (@test-legacy_princ
  there is no package called 'princurvelegacy'
  1: princurvelegacy::get.lam at testthat/test-legacy_princurve.R:32
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 12. Error: Directly compare get.lam against legagy, run 2 (@test-legacy_princ
  there is no package called 'princurvelegacy'
  1: princurvelegacy::get.lam at testthat/test-legacy_princurve.R:32
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 13. Error: Directly compare get.lam against legagy, run 3 (@test-legacy_princ
  there is no package called 'princurvelegacy'
  1: princurvelegacy::get.lam at testthat/test-legacy_princurve.R:32
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 14. Error: Directly compare get.lam against legagy, run 4 (@test-legacy_princ
  there is no package called 'princurvelegacy'
  1: princurvelegacy::get.lam at testthat/test-legacy_princurve.R:32
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 15. Error: Directly compare get.lam against legagy, run 5 (@test-legacy_princ
  there is no package called 'princurvelegacy'
  1: princurvelegacy::get.lam at testthat/test-legacy_princurve.R:32
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 16. Error: Directly compare get.lam against legagy, run 6 (@test-legacy_princ
  there is no package called 'princurvelegacy'
  1: princurvelegacy::get.lam at testthat/test-legacy_princurve.R:32
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 17. Error: Directly compare get.lam against legagy, run 7 (@test-legacy_princ
  there is no package called 'princurvelegacy'
  1: princurvelegacy::get.lam at testthat/test-legacy_princurve.R:32
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 18. Error: Directly compare get.lam against legagy, run 8 (@test-legacy_princ
  there is no package called 'princurvelegacy'
  1: princurvelegacy::get.lam at testthat/test-legacy_princurve.R:32
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 19. Error: Directly compare get.lam against legagy, run 9 (@test-legacy_princ
  there is no package called 'princurvelegacy'
  1: princurvelegacy::get.lam at testthat/test-legacy_princurve.R:32
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 20. Error: Directly compare get.lam against legagy, run 10 (@test-legacy_prin
  there is no package called 'princurvelegacy'
  1: princurvelegacy::get.lam at testthat/test-legacy_princurve.R:32
  2: getExportedValue(pkg, name)
  3: asNamespace(ns)
  4: getNamespace(ns)
  5: tryCatch(loadNamespace(name), error = function(e) stop(e))
  6: tryCatchList(expr, classes, parentenv, handlers)
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ── 21. Error: project_to_cells is at least as fast as legacy get.lam (@test-lega
  there is no package called 'princurvelegacy'
  1: microbenchmark::microbenchmark(fortran = princurvelegacy::get.lam(x, s), rcpp = princurve::project_to_curve(x, 
         s), unit = "ms", times = 100L) at testthat/test-legacy_princurve.R:62
  2: princurvelegacy::get.lam
  3: getExportedValue(pkg, name)
  4: asNamespace(ns)
  5: getNamespace(ns)
  6: tryCatch(loadNamespace(name), error = function(e) stop(e))
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  9: value[[3L]](cond)
  
  ── 22. Error: principal_curve is at least as fast as legacy principal.curve (@te
  there is no package called 'princurvelegacy'
  1: microbenchmark::microbenchmark(legacy = princurvelegacy::principal.curve(x), new = princurve::principal_curve(x, 
         approx_points = 100), unit = "ms", times = 100L) at testthat/test-legacy_princurve.R:81
  2: princurvelegacy::principal.curve
  3: getExportedValue(pkg, name)
  4: asNamespace(ns)
  5: getNamespace(ns)
  6: tryCatch(loadNamespace(name), error = function(e) stop(e))
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  9: value[[3L]](cond)
  
  ── 23. Error: (unknown) (@test-legacy_princurve.R#92)  ─────────────────────────
  there is no package called 'princurvelegacy'
  1: remove.packages("princurvelegacy") at testthat/test-legacy_princurve.R:92
  2: find.package(pkgs, lib)
  3: stop(gettextf("there is no package called %s", sQuote(pkg)), domain = NA)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 335 SKIPPED: 0 FAILED: 23
  1. Error: Directly compare principal.curve against legagy, run 1 (@test-legacy_princurve.R#12) 
  2. Error: Directly compare principal.curve against legagy, run 2 (@test-legacy_princurve.R#12) 
  3. Error: Directly compare principal.curve against legagy, run 3 (@test-legacy_princurve.R#12) 
  4. Error: Directly compare principal.curve against legagy, run 4 (@test-legacy_princurve.R#12) 
  5. Error: Directly compare principal.curve against legagy, run 5 (@test-legacy_princurve.R#12) 
  6. Error: Directly compare principal.curve against legagy, run 6 (@test-legacy_princurve.R#12) 
  7. Error: Directly compare principal.curve against legagy, run 7 (@test-legacy_princurve.R#12) 
  8. Error: Directly compare principal.curve against legagy, run 8 (@test-legacy_princurve.R#12) 
  9. Error: Directly compare principal.curve against legagy, run 9 (@test-legacy_princurve.R#12) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted