Running 'test.R' [23s/26s]
Running the tests in 'tests/test.R' failed.
Complete output:
  > library(testthat)
  > test_check('gemtc', filter="unit")
  Loading required package: gemtc
  Loading required package: coda
  -- ERROR (test-unit-mtc.model.consistency.R:27:3): mtc.model sets re.prior.sd --
  Error: first argument has length > 1
  Backtrace:
      x
   1. +-testthat::expect_equal(...) test-unit-mtc.model.consistency.R:27:2
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-gemtc::mtc.model(parkinson)
   5.   \-gemtc:::mtc.model.defined(model)
   6.     \-base::exists(fns, mode = "function")
  
  -- ERROR (test-unit-mtc.model.graph.R:5:3): Vertices agree between mtc.compariso
  Error: first argument has length > 1
  Backtrace:
      x
   1. \-gemtc::mtc.model(network) test-unit-mtc.model.graph.R:5:2
   2.   \-gemtc:::mtc.model.defined(model)
   3.     \-base::exists(fns, mode = "function")
  
  -- ERROR (test-unit-mtc.model.ume.R:47:5): mtc.model.ume warns about mutli-arm t
  Error: first argument has length > 1
  Backtrace:
      x
   1. +-testthat::expect_warning(...) test-unit-mtc.model.ume.R:47:4
   2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
   3. |   +-testthat:::.capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. \-gemtc::mtc.model(...)
   7.   \-gemtc:::mtc.model.defined(model)
   8.     \-base::exists(fns, mode = "function")
  
  -- ERROR (test-unit-mtc.model.ume.R:52:5): Vertices agree between mtc.network.gr
  Error: first argument has length > 1
  Backtrace:
      x
   1. +-base::suppressWarnings(model <- mtc.model(network, type = "ume")) test-unit-mtc.model.ume.R:52:4
   2. | \-base::withCallingHandlers(...)
   3. \-gemtc::mtc.model(network, type = "ume")
   4.   \-gemtc:::mtc.model.defined(model)
   5.     \-base::exists(fns, mode = "function")
  
  -- ERROR (test-unit-mtc.model.ume.R:65:3): Edges are consistent for ume model$gr
  Error: first argument has length > 1
  Backtrace:
      x
   1. +-base::suppressWarnings(...) test-unit-mtc.model.ume.R:65:2
   2. | \-base::withCallingHandlers(...)
   3. \-gemtc::mtc.model(...)
   4.   \-gemtc:::mtc.model.defined(model)
   5.     \-base::exists(fns, mode = "function")
  
  -- ERROR (test-unit-mtc.model.ume.R:81:3): RE data will not introduce duplicate 
  Error: first argument has length > 1
  Backtrace:
      x
   1. \-gemtc::mtc.model(...) test-unit-mtc.model.ume.R:81:2
   2.   \-gemtc:::mtc.model.defined(model)
   3.     \-base::exists(fns, mode = "function")
  
  -- ERROR (test-unit-mtc.model.use.R:13:3): the model generates correctly -------
  Error: first argument has length > 1
  Backtrace:
      x
   1. \-gemtc::mtc.model(network, type = "use") test-unit-mtc.model.use.R:13:2
   2.   \-gemtc:::mtc.model.defined(model)
   3.     \-base::exists(fns, mode = "function")
  
  -- ERROR (test-unit-mtc.model_columns.R:8:3): std.dev + sampleSize is rewritten 
  Error: first argument has length > 1
  Backtrace:
      x
   1. \-gemtc::mtc.model(network, likelihood = "normal", link = "identity") test-unit-mtc.model_columns.R:8:2
   2.   \-gemtc:::mtc.model.defined(model)
   3.     \-base::exists(fns, mode = "function")
  
  -- ERROR (test-unit-mtc.model_columns.R:45:3): data.ab with std.err does not thr
  Error: first argument has length > 1
  Backtrace:
      x
   1. \-gemtc::mtc.model(network, likelihood = "normal", link = "identity") test-unit-mtc.model_columns.R:45:2
   2.   \-gemtc:::mtc.model.defined(model)
   3.     \-base::exists(fns, mode = "function")
  
  -- ERROR (test-unit-mtc.model_data.R:299:3): not specifying likelihood / link ge
  Error: first argument has length > 1
  Backtrace:
      x
   1. +-testthat::expect_warning(...) test-unit-mtc.model_data.R:299:2
   2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
   3. |   +-testthat:::.capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. \-gemtc::mtc.model(network, likelihood = "normal")
   7.   \-gemtc:::mtc.model.defined(model)
   8.     \-base::exists(fns, mode = "function")
  
  -- Skip (test-unit-mtc.network_data.re.R:44:1): data.ab can be unspecified if da
  Reason: empty test
  
  -- ERROR (test-unit-nodesplit.R:196:3): non-lexicographical treatment order work
  Error: first argument has length > 1
  Backtrace:
      x
   1. \-gemtc::mtc.model(network, type = "nodesplit", t1 = 10, t2 = 11) test-unit-nodesplit.R:196:2
   2.   \-gemtc:::mtc.model.defined(model)
   3.     \-base::exists(fns, mode = "function")
  
  -- FAILURE (test-unit-regression.R:49:3): Degenerate covariate is detected -----
  `mtc.model(...)` threw an error with unexpected message.
  Expected match: "covariate is degenerate"
  Actual message: "first argument has length > 1"
  Backtrace:
      x
   1. +-testthat::expect_error(...) test-unit-regression.R:49:2
   2. | \-testthat:::quasi_capture(...)
   3. |   +-testthat:::.capture(...)
   4. |   | \-base::withCallingHandlers(...)
   5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. \-gemtc::mtc.model(...)
   7.   \-gemtc:::mtc.model.defined(model)
   8.     \-base::exists(fns, mode = "function")
  
  -- Skip (test-unit-relative.effect.R:106:1): rank.probability can be applied to 
  Reason: empty test
  
  -- Skipped tests  --------------------------------------------------------------
  * empty test (2)
  
  == testthat results  ===========================================================
  ERROR (test-unit-mtc.model.consistency.R:27:3): mtc.model sets re.prior.sd
  ERROR (test-unit-mtc.model.graph.R:5:3): Vertices agree between mtc.comparisons and the model tree
  ERROR (test-unit-mtc.model.ume.R:47:5): mtc.model.ume warns about mutli-arm trials
  ERROR (test-unit-mtc.model.ume.R:52:5): Vertices agree between mtc.network.graph and ume model$graph
  ERROR (test-unit-mtc.model.ume.R:65:3): Edges are consistent for ume model$graph
  ERROR (test-unit-mtc.model.ume.R:81:3): RE data will not introduce duplicate basic parameters
  ERROR (test-unit-mtc.model.use.R:13:3): the model generates correctly
  ERROR (test-unit-mtc.model_columns.R:8:3): std.dev + sampleSize is rewritten to std.err
  ERROR (test-unit-mtc.model_columns.R:45:3): data.ab with std.err does not throw error
  ERROR (test-unit-mtc.model_data.R:299:3): not specifying likelihood / link generates warnings
  ERROR (test-unit-nodesplit.R:196:3): non-lexicographical treatment order works correctly
  FAILURE (test-unit-regression.R:49:3): Degenerate covariate is detected
  
  [ FAIL 12 | WARN 0 | SKIP 2 | PASS 546 ]
  Error: Test failures
  Execution halted