Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(routr)
  > 
  > test_check("routr")
  1. Error: Route initialization works (@test-route.R#5) -------------------------
  there is no package called 'fiery'
  1: fiery::fake_request at testthat/test-route.R:5
  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: handlers can get added and removed (@test-route.R#32) ----------------
  there is no package called 'fiery'
  1: fiery::fake_request at testthat/test-route.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)
  
  3. Error: dispatch dispatches (@test-route.R#55) -------------------------------
  there is no package called 'fiery'
  1: fiery::fake_request at testthat/test-route.R:55
  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: dispatching works (@test-routestack.R#44) ----------------------------
  there is no package called 'fiery'
  1: fiery::fake_request at testthat/test-routestack.R:44
  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: error handling works (@test-routestack.R#82) -------------------------
  there is no package called 'fiery'
  1: fiery::fake_request at testthat/test-routestack.R:82
  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)
  
  testthat results ================================================================
  OK: 16 SKIPPED: 0 FAILED: 5
  1. Error: Route initialization works (@test-route.R#5) 
  2. Error: handlers can get added and removed (@test-route.R#32) 
  3. Error: dispatch dispatches (@test-route.R#55) 
  4. Error: dispatching works (@test-routestack.R#44) 
  5. Error: error handling works (@test-routestack.R#82) 
  
  Error: testthat unit tests failed
  Execution halted