Running 'testthat.R' [24s/28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 
  > test_check("ahp")
  Loading required package: ahp
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fieldsAll will be deprecated in the next release. Please use Node$attributesAll instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fieldsAll will be deprecated in the next release. Please use Node$attributesAll instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fieldsAll will be deprecated in the next release. Please use Node$attributesAll instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fieldsAll will be deprecated in the next release. Please use Node$attributesAll instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fieldsAll will be deprecated in the next release. Please use Node$attributesAll instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fieldsAll will be deprecated in the next release. Please use Node$attributesAll instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  [1] "Node$fieldsAll will be deprecated in the next release. Please use Node$attributesAll instead."
  [1] "Node$fields will be deprecated in the next release. Please use Node$attributes instead."
  -- FAILURE (test-ahpBasics.R:36:3): alternatives order -------------------------
  `aw` not equal to sort(aw, decreasing = TRUE).
  Length mismatch: comparison on first 1 components
  
  -- FAILURE (test-ahpBasics.R:42:3): alternatives order -------------------------
  `aw` not equal to sort(aw, decreasing = TRUE).
  Length mismatch: comparison on first 1 components
  
  == testthat results  ===========================================================
  FAILURE (test-ahpBasics.R:36:3): alternatives order
  FAILURE (test-ahpBasics.R:42:3): alternatives order
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 466 ]
  Error: Test failures
  Execution halted