Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(formula.tools)
  Loading required package: operator.tools
  > 
  > test_check("formula.tools")
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  1. Failure: two-sided formula (@test-get.vars.r#33) ----------------------------
  `value` not equivalent to "y".
  Lengths differ: 0 vs 1
  
  
  2. Failure: two-sided formula (@test-get.vars.r#35) ----------------------------
  `value` not equivalent to c("y", "x").
  Lengths differ: 1 vs 2
  
  
  3. Failure: two-sided formula (@test-get.vars.r#36) ----------------------------
  `value` not equivalent to c("y", "x").
  Lengths differ: 1 vs 2
  
  
  4. Failure: two-sided formula (@test-get.vars.r#37) ----------------------------
  `value` not equivalent to c("y", "x", "a").
  Lengths differ: 2 vs 3
  
  
  5. Failure: lhs one-sided formula (@test-get.vars.r#45) ------------------------
  `value` is not null.
  
  
  6. Failure: lhs one-sided formula (@test-get.vars.r#46) ------------------------
  `value` is not null.
  
  
  7. Failure: lhs one-sided formula (@test-get.vars.r#47) ------------------------
  `value` is not null.
  
  
  8. Failure: lhs one-sided formula (@test-get.vars.r#48) ------------------------
  `value` is not null.
  
  
  9. Failure: lhs one-sided formula (@test-get.vars.r#49) ------------------------
  `value` is not null.
  
  
  10. Failure: lhs two-sided formula (@test-get.vars.r#56) -----------------------
  `_lhs` not equivalent to character(0).
  Lengths differ: 1 vs 0
  
  
  11. Failure: lhs two-sided formula (@test-get.vars.r#58) -----------------------
  `value` is not null.
  
  
  12. Failure: lhs two-sided formula (@test-get.vars.r#59) -----------------------
  `value` not equivalent to character(0).
  Lengths differ: 1 vs 0
  
  
  13. Failure: lhs two-sided formula (@test-get.vars.r#60) -----------------------
  `value` not equivalent to "y".
  1/1 mismatches
  x[1]: "There is no relational operator defined for y ~ 1"
  y[1]: "y"
  
  
  14. Failure: lhs two-sided formula (@test-get.vars.r#61) -----------------------
  `value` not equivalent to "y".
  1/1 mismatches
  x[1]: "There is no relational operator defined for y ~ y"
  y[1]: "y"
  
  
  15. Failure: lhs two-sided formula (@test-get.vars.r#62) -----------------------
  `value` not equivalent to "y".
  1/1 mismatches
  x[1]: "There is no relational operator defined for y ~ x"
  y[1]: "y"
  
  
  16. Failure: lhs two-sided formula (@test-get.vars.r#63) -----------------------
  `value` not equivalent to "y".
  1/1 mismatches
  x[1]: "There is no relational operator defined for y ~ x + 1"
  y[1]: "y"
  
  
  17. Failure: lhs two-sided formula (@test-get.vars.r#64) -----------------------
  `value` not equivalent to "y".
  1/1 mismatches
  x[1]: "There is no relational operator defined for y + 1 ~ x + 1"
  y[1]: "y"
  
  
  18. Failure: lhs two-sided formula (@test-get.vars.r#65) -----------------------
  `value` not equivalent to "y".
  1/1 mismatches
  x[1]: "There is no relational operator defined for y ~ x + a + 1"
  y[1]: "y"
  
  
  19. Failure: lhs two-sided formula (@test-get.vars.r#66) -----------------------
  `value` not equivalent to c("y", "a").
  Lengths differ: 1 vs 2
  
  
  20. Failure: rhs one-sided formula (@test-get.vars.r#74) -----------------------
  `value` not equivalent to character(0).
  Lengths differ: 1 vs 0
  
  
  21. Failure: rhs one-sided formula (@test-get.vars.r#75) -----------------------
  `value` not equivalent to character(0).
  Lengths differ: 1 vs 0
  
  
  22. Failure: rhs one-sided formula (@test-get.vars.r#76) -----------------------
  `value` not equal to "a".
  1/1 mismatches
  x[1]: "There is no relational operator defined for ~a"
  y[1]: "a"
  
  
  23. Failure: rhs one-sided formula (@test-get.vars.r#77) -----------------------
  `value` not equal to "a".
  1/1 mismatches
  x[1]: "There is no relational operator defined for ~a + a"
  y[1]: "a"
  
  
  24. Failure: rhs one-sided formula (@test-get.vars.r#78) -----------------------
  `value` not equal to c("a", "b").
  Lengths differ: 1 vs 2
  
  
  25. Failure: rhs one-sided formula (@test-get.vars.r#84) -----------------------
  rhs.vars(NA ~ 1) did not throw an error.
  
  
  26. Failure: rhs one-sided formula (@test-get.vars.r#85) -----------------------
  `value` not equivalent to character(0).
  Lengths differ: 1 vs 0
  
  
  27. Failure: rhs one-sided formula (@test-get.vars.r#86) -----------------------
  `value` not equivalent to character(0).
  Lengths differ: 1 vs 0
  
  
  28. Failure: rhs one-sided formula (@test-get.vars.r#87) -----------------------
  `value` not equivalent to character(0).
  Lengths differ: 1 vs 0
  
  
  29. Failure: rhs one-sided formula (@test-get.vars.r#88) -----------------------
  `value` not equivalent to "y".
  1/1 mismatches
  x[1]: "There is no relational operator defined for y ~ y"
  y[1]: "y"
  
  
  30. Failure: rhs one-sided formula (@test-get.vars.r#89) -----------------------
  `value` not equivalent to "x".
  1/1 mismatches
  x[1]: "There is no relational operator defined for y ~ x"
  y[1]: "x"
  
  
  31. Failure: rhs one-sided formula (@test-get.vars.r#90) -----------------------
  `value` not equivalent to "x".
  1/1 mismatches
  x[1]: "There is no relational operator defined for y ~ x + 1"
  y[1]: "x"
  
  
  32. Failure: rhs one-sided formula (@test-get.vars.r#91) -----------------------
  `value` not equivalent to c("x", "a").
  Lengths differ: 1 vs 2
  
  
  33. Failure: lhs (@test-lhs.r#12) ----------------------------------------------
  `_lhs` is not null.
  
  
  34. Failure: lhs (@test-lhs.r#13) ----------------------------------------------
  `_lhs` not equal to NA.
  Types not compatible: character vs logical
  
  
  35. Failure: lhs (@test-lhs.r#14) ----------------------------------------------
  `_lhs` not equal to as.name(".").
  Types not compatible: character vs symbol
  
  
  36. Failure: lhs (@test-lhs.r#15) ----------------------------------------------
  `_lhs` not equal to 1.
  Types not compatible: character vs double
  
  
  37. Failure: lhs (@test-lhs.r#16) ----------------------------------------------
  `_lhs` not equal to as.name("a").
  Types not compatible: character vs symbol
  
  
  38. Failure: lhs (@test-lhs.r#17) ----------------------------------------------
  `_lhs` not equivalent to expression(a + 1)[[1]].
  Types not compatible: character vs language
  
  
  39. Failure: lhs (@test-lhs.r#18) ----------------------------------------------
  `_lhs` not equivalent to expression(a + b)[[1]].
  Types not compatible: character vs language
  
  
  40. Failure: lhs (@test-lhs.r#19) ----------------------------------------------
  `_lhs` is not null.
  
  
  41. Failure: rhs (@test-lhs.r#26) ----------------------------------------------
  `_lhs` not equal to NA.
  target is NULL, current is logical
  
  
  42. Failure: rhs (@test-lhs.r#27) ----------------------------------------------
  `_lhs` not equal to as.name(".").
  target is NULL, current is name
  
  
  43. Failure: rhs (@test-lhs.r#28) ----------------------------------------------
  `_lhs` not equal to 1.
  target is NULL, current is numeric
  
  
  44. Failure: rhs (@test-lhs.r#29) ----------------------------------------------
  `_lhs` not equal to as.name("a").
  target is NULL, current is name
  
  
  45. Failure: rhs (@test-lhs.r#30) ----------------------------------------------
  `_lhs` not equivalent to expression(a + 1)[[1]].
  target is NULL, current is call
  
  
  46. Failure: rhs (@test-lhs.r#31) ----------------------------------------------
  `_lhs` not equivalent to expression(a + b)[[1]].
  target is NULL, current is call
  
  
  47. Failure: rhs (@test-lhs.r#32) ----------------------------------------------
  `_lhs` not equal to as.name(".").
  target is NULL, current is name
  
  
  48. Failure: call (@test-lhs.r#41) ---------------------------------------------
  `value` is not null.
  
  
  49. Failure: call (@test-lhs.r#42) ---------------------------------------------
  `value` not equal to NA.
  Types not compatible: character vs logical
  
  
  50. Failure: call (@test-lhs.r#43) ---------------------------------------------
  `value` not equal to as.name(".").
  Types not compatible: character vs symbol
  
  
  51. Failure: call (@test-lhs.r#44) ---------------------------------------------
  `value` not equal to 1.
  Types not compatible: character vs double
  
  
  52. Failure: call (@test-lhs.r#45) ---------------------------------------------
  `value` not equal to as.name("a").
  Types not compatible: character vs symbol
  
  
  53. Failure: call (@test-lhs.r#46) ---------------------------------------------
  `value` not equivalent to expression(a + 1)[[1]].
  Types not compatible: character vs language
  
  
  54. Failure: call (@test-lhs.r#47) ---------------------------------------------
  `value` not equivalent to expression(a + b)[[1]].
  Types not compatible: character vs language
  
  
  55. Failure: call (@test-lhs.r#48) ---------------------------------------------
  `value` is not null.
  
  
  56. Failure: call (@test-lhs.r#54) ---------------------------------------------
  `value` not equal to NA.
  target is NULL, current is logical
  
  
  57. Failure: call (@test-lhs.r#55) ---------------------------------------------
  `value` not equal to as.name(".").
  target is NULL, current is name
  
  
  58. Failure: call (@test-lhs.r#56) ---------------------------------------------
  `value` not equal to 1.
  target is NULL, current is numeric
  
  
  59. Failure: call (@test-lhs.r#57) ---------------------------------------------
  `value` not equal to as.name("a").
  target is NULL, current is name
  
  
  60. Failure: call (@test-lhs.r#58) ---------------------------------------------
  `value` not equivalent to 1.
  target is NULL, current is numeric
  
  
  61. Failure: call (@test-lhs.r#59) ---------------------------------------------
  `value` not equivalent to as.name("b").
  target is NULL, current is name
  
  
  62. Failure: call (@test-lhs.r#60) ---------------------------------------------
  `value` not equal to as.name(".").
  target is NULL, current is name
  
  
  testthat results ================================================================
  OK: 95 SKIPPED: 0 FAILED: 62
  1. Failure: two-sided formula (@test-get.vars.r#33) 
  2. Failure: two-sided formula (@test-get.vars.r#35) 
  3. Failure: two-sided formula (@test-get.vars.r#36) 
  4. Failure: two-sided formula (@test-get.vars.r#37) 
  5. Failure: lhs one-sided formula (@test-get.vars.r#45) 
  6. Failure: lhs one-sided formula (@test-get.vars.r#46) 
  7. Failure: lhs one-sided formula (@test-get.vars.r#47) 
  8. Failure: lhs one-sided formula (@test-get.vars.r#48) 
  9. Failure: lhs one-sided formula (@test-get.vars.r#49) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted