Running 'testthat.R' [10s]
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
  
  -- 1. Error: regress (@test_stats.R#9)  ----------------------------------------
  object 'tibble_restore_impl' not found
  Backtrace:
    1. radiant.model::regress(diamonds, "price", c("carat", "clarity"))
    2. radiant.data::get_data(...)
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
   11. { ... }
   14. tibble:::`[.tbl_df`(object, !omit, , drop = FALSE)
   15. tibble:::vectbl_restore(xo, x)
  
  -- 2. Error: regress - predict (@test_stats.R#27)  -----------------------------
  object 'tibble_restore_impl' not found
  Backtrace:
    1. radiant.model::regress(diamonds, "price", c("carat", "clarity"))
    2. radiant.data::get_data(...)
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
   11. { ... }
   14. tibble:::`[.tbl_df`(object, !omit, , drop = FALSE)
   15. tibble:::vectbl_restore(xo, x)
  
  -- 3. Error: regress - predict with quadratic term (@test_stats.R#39)  ---------
  object 'tibble_restore_impl' not found
  Backtrace:
    1. radiant.model::regress(...)
    2. radiant.data::get_data(...)
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
   11. { ... }
   14. tibble:::`[.tbl_df`(object, !omit, , drop = FALSE)
   15. tibble:::vectbl_restore(xo, x)
  
  -- 4. Error: regress - predict with date (@test_stats.R#51)  -------------------
  object 'tibble_restore_impl' not found
  Backtrace:
    1. radiant.model::regress(...)
    2. radiant.data::get_data(...)
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
   11. { ... }
   14. tibble:::`[.tbl_df`(object, !omit, , drop = FALSE)
   15. tibble:::vectbl_restore(xo, x)
  
  -- 5. Error: logistic (@test_stats.R#64)  --------------------------------------
  object 'tibble_restore_impl' not found
  Backtrace:
    1. radiant.model::logistic(titanic, "survived", c("pclass", "sex"))
    2. radiant.data::get_data(dataset, vars, filt = data_filter, envir = envir)
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
   11. { ... }
   14. tibble:::`[.tbl_df`(object, !omit, , drop = FALSE)
   15. tibble:::vectbl_restore(xo, x)
  
  -- 6. Error: logistic - predict (@test_stats.R#75)  ----------------------------
  object 'tibble_restore_impl' not found
  Backtrace:
    1. radiant.model::logistic(titanic, "survived", c("pclass", "sex"))
    2. radiant.data::get_data(dataset, vars, filt = data_filter, envir = envir)
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
   11. { ... }
   14. tibble:::`[.tbl_df`(object, !omit, , drop = FALSE)
   15. tibble:::vectbl_restore(xo, x)
  
  -- 7. Error: logistic - predict with quadratic term (@test_stats.R#92)  --------
  object 'tibble_restore_impl' not found
  Backtrace:
    1. radiant.model::logistic(...)
    2. radiant.data::get_data(dataset, vars, filt = data_filter, envir = envir)
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
   11. { ... }
   14. tibble:::`[.tbl_df`(object, !omit, , drop = FALSE)
   15. tibble:::vectbl_restore(xo, x)
  
  -- 8. Error: Neural Network - predict for classification (@test_stats.R#111)  --
  object 'tibble_restore_impl' not found
  Backtrace:
    1. radiant.model::nn(titanic, "survived", c("pclass", "sex"), seed = 1234)
    2. radiant.data::get_data(dataset, vars, filt = data_filter, envir = envir)
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
   11. { ... }
   14. tibble:::`[.tbl_df`(object, !omit, , drop = FALSE)
   15. tibble:::vectbl_restore(xo, x)
  
  -- 9. Error: Neural Network - predict for regression (@test_stats.R#128)  ------
  object 'tibble_restore_impl' not found
  Backtrace:
    1. radiant.model::nn(...)
    2. radiant.data::get_data(dataset, vars, filt = data_filter, envir = envir)
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
   11. { ... }
   14. tibble:::`[.tbl_df`(object, !omit, , drop = FALSE)
   15. tibble:::vectbl_restore(xo, x)
  
  -- 10. Error: Neural Network - predict with date (@test_stats.R#145)  ----------
  object 'tibble_restore_impl' not found
  Backtrace:
    1. radiant.model::nn(...)
    2. radiant.data::get_data(dataset, vars, filt = data_filter, envir = envir)
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
    3. { ... }
   11. { ... }
   14. tibble:::`[.tbl_df`(object, !omit, , drop = FALSE)
   15. tibble:::vectbl_restore(xo, x)
  
  == testthat results  ===========================================================
  [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 10 ]
  1.  Error: regress (@test_stats.R#9) 
  2.  Error: regress - predict (@test_stats.R#27) 
  3.  Error: regress - predict with quadratic term (@test_stats.R#39) 
  4.  Error: regress - predict with date (@test_stats.R#51) 
  5.  Error: logistic (@test_stats.R#64) 
  6.  Error: logistic - predict (@test_stats.R#75) 
  7.  Error: logistic - predict with quadratic term (@test_stats.R#92) 
  8.  Error: Neural Network - predict for classification (@test_stats.R#111) 
  9.  Error: Neural Network - predict for regression (@test_stats.R#128) 
  10. Error: Neural Network - predict with date (@test_stats.R#145) 
  
  Error: testthat unit tests failed
  Execution halted