Running ‘testthat.R’
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
  
  The following object is masked from 'package:testthat':
  
      matches
  
  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
  
  carat           8438.030    51.101 165.125  < .001 ***
  SI1     9 114304.420 104924.680 123684.159  9379.739
  2nd female      0.779 0.712 0.833
  1st female      0.896 0.856 0.926
  1st female 29.000      0.919 0.880 0.945
  TableGrob (3 x 2) "arrange": 6 grobs
        z     cells    name           grob
  dash1 1 (1-1,1-1) arrange gtable[layout]
  dash2 2 (1-1,2-2) arrange gtable[layout]
  dash3 3 (2-2,1-1) arrange gtable[layout]
  dash4 4 (2-2,2-2) arrange gtable[layout]
  dash5 5 (3-3,1-1) arrange gtable[layout]
  dash6 6 (3-3,2-2) arrange gtable[layout]
  ── 1. Failure: regress - plots (@test_stats.R#161)  ────────────────────────────
  try(print(grb), silent = TRUE) not equal to NULL.
  Modes: list, NULL
  Lengths: 4, 0
  names for target but not for current
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  current is not list-like
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 26 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Failure: regress - plots (@test_stats.R#161) 
  
  Error: testthat unit tests failed
  Execution halted