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.basics")
  Loading required package: radiant.basics
  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 8 | WARN 0 | SKIP 0 | PASS 2 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_stats.R:9'): compare_means 1 ───────────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.basics::compare_means(diamonds, "cut", "price") at test_stats.R:9:2
  ── Error ('test_stats.R:21'): compare_means 2 ──────────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.basics::compare_means(diamonds, "cut", "price") at test_stats.R:21:2
  ── Error ('test_stats.R:31'): compare_props 1 ──────────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.basics::compare_props(titanic, "pclass", "survived") at test_stats.R:31:2
  ── Error ('test_stats.R:39'): compare_props 2 ──────────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.basics::compare_props(titanic, "pclass", "survived") at test_stats.R:39:2
  ── Error ('test_stats.R:51'): single_prop 1 ────────────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. ├─testthat::capture_output(summary(result)) at test_stats.R:51:2
   2. │ └─testthat::capture_output_lines(code, print, width = width)
   3. │   └─testthat:::eval_with_output(code, print = print, width = width)
   4. │     ├─withr::with_output_sink(path, withVisible(code))
   5. │     │ └─base::force(code)
   6. │     └─base::withVisible(code)
   7. ├─base::summary(result)
   8. └─radiant.basics:::summary.single_prop(result)
  ── Error ('test_stats.R:60'): single_prop 2 ────────────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. ├─testthat::capture_output(summary(result)) at test_stats.R:60:2
   2. │ └─testthat::capture_output_lines(code, print, width = width)
   3. │   └─testthat:::eval_with_output(code, print = print, width = width)
   4. │     ├─withr::with_output_sink(path, withVisible(code))
   5. │     │ └─base::force(code)
   6. │     └─base::withVisible(code)
   7. ├─base::summary(result)
   8. └─radiant.basics:::summary.single_prop(result)
  ── Error ('test_stats.R:70'): single_mean 1 ────────────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. ├─capture.output(summary(result))[12] %>% trim() at test_stats.R:70:2
   2. ├─radiant.basics (local) trim(.)
   3. │ └─base::gsub("^\\s+|\\s+$", "", x) at test_stats.R:4:8
   4. │   └─base::is.factor(x)
   5. ├─utils::capture.output(summary(result))
   6. │ └─base::withVisible(...elt(i))
   7. ├─base::summary(result)
   8. └─radiant.basics:::summary.single_mean(result)
  ── Error ('test_stats.R:78'): single_mean 2 ────────────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. ├─capture.output(summary(result))[12] %>% trim() at test_stats.R:78:2
   2. ├─radiant.basics (local) trim(.)
   3. │ └─base::gsub("^\\s+|\\s+$", "", x) at test_stats.R:4:8
   4. │   └─base::is.factor(x)
   5. ├─utils::capture.output(summary(result))
   6. │ └─base::withVisible(...elt(i))
   7. ├─base::summary(result)
   8. └─radiant.basics:::summary.single_mean(result)
  
  [ FAIL 8 | WARN 0 | SKIP 0 | PASS 2 ]
  Error: Test failures
  Execution halted