Running 'testthat.R' [21s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > ## use shift-cmd-t to run all tests
  > library(testthat)
  > test_check("radiant.model")
  Loading required package: radiant.model
  Loading required package: radiant.data
  Loading required package: magrittr
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  Loading required package: ggplot2
  Loading required package: lubridate
  
  Attaching package: 'lubridate'
  
  The following object is masked from 'package:base':
  
      date
  
  Loading required package: tidyr
  
  Attaching package: 'tidyr'
  
  The following object is masked from 'package:magrittr':
  
      extract
  
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:lubridate':
  
      intersect, setdiff, union
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  
  Attaching package: 'radiant.data'
  
  The following objects are masked from 'package:lubridate':
  
      month, wday
  
  The following object is masked from 'package:ggplot2':
  
      diamonds
  
  The following object is masked from 'package:testthat':
  
      describe
  
  <chr>          <chr>       <chr>     <chr>   <chr>   <chr>
  -- 1. Failure: regress (@test_stats.R#13)  -------------------------------------
  `res1` not equal to `res2`.
  1/1 mismatches
  x[1]: "<chr>          <chr>       <chr>     <chr>   <chr>   <chr>"
  y[1]: "carat           8438.030    51.101 165.125  < .001 ***"
  
  -- 2. Failure: regress (@test_stats.R#17)  -------------------------------------
  `res1` not equal to `res2`.
  1/1 mismatches
  x[1]: "<chr>          <chr>       <chr>     <chr>   <chr>   <chr>"
  y[1]: "carat           8438.030    51.101 165.125  < .001 ***"
  
  -- 3. Failure: regress (@test_stats.R#23)  -------------------------------------
  `res1` not equal to `res2`.
  Lengths differ: 26 is not 24
  
  -- 4. Failure: logistic (@test_stats.R#45)  ------------------------------------
  `res1` not equal to `res2`.
  1/1 mismatches
  x[1]: "2 \"pclass|2nd \" 0.409 -0.893      0.208     -4.290  < .001  ***"
  y[1]: "sex|male    0.080      -2.522     0.163 -15.447  < .001 ***"
  
  -- 5. Failure: logistic (@test_stats.R#49)  ------------------------------------
  `res1` not equal to `res2`.
  1/1 mismatches
  x[1]: "2 \"pclass|2nd \" 0.409 -0.893      0.208     -4.290  < .001  ***"
  y[1]: "sex|male    0.080      -2.522     0.163 -15.447  < .001 ***"
  
  2nd female      0.779 0.712 0.833
  1st female      0.896 0.856 0.926
  == testthat results  ===========================================================
  OK: 13 SKIPPED: 0 FAILED: 5
  1. Failure: regress (@test_stats.R#13) 
  2. Failure: regress (@test_stats.R#17) 
  3. Failure: regress (@test_stats.R#23) 
  4. Failure: logistic (@test_stats.R#45) 
  5. Failure: logistic (@test_stats.R#49) 
  
  Error: testthat unit tests failed
  Execution halted