Running ‘testthat.R’ [6s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > ## use shift-cmd-t to run all tests
  > library(testthat)
  > test_check("radiant.multivariate")
  Loading required package: radiant.multivariate
  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 4 | WARN 0 | SKIP 0 | PASS 3 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_stats.R:8'): City MDS points ───────────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.multivariate::mds(city, "from", "to", "distance") at test_stats.R:8:2
   2.   └─seed %>% gsub("[^0-9]", "", .) %>% ...
  ── Error ('test_stats.R:29'): Computer perceptual map ──────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.multivariate::prmap(computer, "brand", "high_end:business") at test_stats.R:29:2
  ── Error ('test_stats.R:88'): K-clustering ─────────────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.multivariate::kclus(shopping, vars = "v1:v6") at test_stats.R:88:2
  ── Error ('test_stats.R:108'): Conjoint on mp3 data ────────────────────────────
  Error: 'is_empty' is not an exported object from 'namespace:radiant.data'
  Backtrace:
      ▆
   1. └─radiant.multivariate::conjoint(mp3, rvar = "Rating", evar = "Memory:Shape") at test_stats.R:108:2
   2.   ├─... %>% ...
   3.   └─radiant.model::var_check(evar, colnames(dataset)[-1], int)
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 3 ]
  Error: Test failures
  Execution halted