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
  Loading required package: timechange
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  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 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:magrittr':
  
      set_attr
  
  The following object is masked from 'package:testthat':
  
      describe
  
  The following object is masked from 'package:base':
  
      date
  
  [ FAIL 11 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_stats.R:9'): regress ───────────────────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.model::regress(diamonds, "price", c("carat", "clarity")) at test_stats.R:9:2
   2.   ├─var_check(evar, colnames(dataset)[-1], int) %>% ...
   3.   └─radiant.model::var_check(evar, colnames(dataset)[-1], int)
  ── Error ('test_stats.R:27'): regress - predict ────────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.model::regress(diamonds, "price", c("carat", "clarity")) at test_stats.R:27:2
   2.   ├─var_check(evar, colnames(dataset)[-1], int) %>% ...
   3.   └─radiant.model::var_check(evar, colnames(dataset)[-1], int)
  ── Error ('test_stats.R:39'): regress - predict with quadratic term ────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.model::regress(...) at test_stats.R:39:2
   2.   ├─var_check(evar, colnames(dataset)[-1], int) %>% ...
   3.   └─radiant.model::var_check(evar, colnames(dataset)[-1], int)
  ── Error ('test_stats.R:51'): regress - predict with date ──────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.model::regress(...) at test_stats.R:51:2
   2.   ├─var_check(evar, colnames(dataset)[-1], int) %>% ...
   3.   └─radiant.model::var_check(evar, colnames(dataset)[-1], int)
  ── Error ('test_stats.R:64'): logistic ─────────────────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.model::logistic(titanic, "survived", c("pclass", "sex")) at test_stats.R:64:2
  ── Error ('test_stats.R:75'): logistic - predict ───────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.model::logistic(titanic, "survived", c("pclass", "sex")) at test_stats.R:75:2
  ── Error ('test_stats.R:92'): logistic - predict with quadratic term ───────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.model::logistic(...) at test_stats.R:92:2
  ── Error ('test_stats.R:111'): Neural Network - predict for classification ─────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.model::nn(titanic, "survived", c("pclass", "sex"), seed = 1234) at test_stats.R:111:2
  ── Error ('test_stats.R:128'): Neural Network - predict for regression ─────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.model::nn(...) at test_stats.R:128:2
  ── Error ('test_stats.R:145'): Neural Network - predict with date ──────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.model::nn(...) at test_stats.R:145:2
  ── Error ('test_stats.R:157'): Gradient Boosting - NoLD test ───────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.model::gbt(...) at test_stats.R:157:2
  
  [ FAIL 11 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted